1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2021 Amlogic, Inc. All rights reserved.
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/gpio/gpio.h>
17 compatible = "arm,cortex-a35";
19 enable-method = "psci";
24 compatible = "arm,cortex-a35";
26 enable-method = "psci";
31 compatible = "arm,armv8-timer";
32 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
33 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
34 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
35 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
39 compatible = "arm,psci-1.0";
44 compatible = "fixed-clock";
45 clock-frequency = <24000000>;
46 clock-output-names = "xtal";
51 compatible = "amlogic,meson-gxbb-sm";
53 pwrc: power-controller {
54 compatible = "amlogic,c3-pwrc";
55 #power-domain-cells = <1>;
60 compatible = "simple-bus";
65 gic: interrupt-controller@fff01000 {
66 compatible = "arm,gic-400";
67 #interrupt-cells = <3>;
70 reg = <0x0 0xfff01000 0 0x1000>,
71 <0x0 0xfff02000 0 0x2000>,
72 <0x0 0xfff04000 0 0x2000>,
73 <0x0 0xfff06000 0 0x2000>;
74 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
78 compatible = "simple-bus";
79 reg = <0x0 0xfe000000 0x0 0x480000>;
82 ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>;
84 periphs_pinctrl: pinctrl@4000 {
85 compatible = "amlogic,c3-periphs-pinctrl";
91 reg = <0x0 0x4000 0x0 0x004c>,
92 <0x0 0x4100 0x0 0x01de>;
93 reg-names = "mux", "gpio";
96 gpio-ranges = <&periphs_pinctrl 0 0 55>;
100 gpio_intc: interrupt-controller@4080 {
101 compatible = "amlogic,meson-gpio-intc",
102 "amlogic,c3-gpio-intc";
103 reg = <0x0 0x4080 0x0 0x0020>;
104 interrupt-controller;
105 #interrupt-cells = <2>;
106 amlogic,channel-interrupts =
107 <10 11 12 13 14 15 16 17 18 19 20 21>;
110 uart_b: serial@7a000 {
111 compatible = "amlogic,meson-s4-uart",
112 "amlogic,meson-ao-uart";
113 reg = <0x0 0x7a000 0x0 0x18>;
114 interrupts = <GIC_SPI 169 IRQ_TYPE_EDGE_RISING>;
116 clocks = <&xtal>, <&xtal>, <&xtal>;
117 clock-names = "xtal", "pclk", "baud";