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,cortex-a35";
33 enable-method = "psci";
38 compatible = "arm,cortex-a35";
40 enable-method = "psci";
45 compatible = "arm,armv8-timer";
46 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
47 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
48 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
49 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
53 compatible = "arm,psci-1.0";
58 compatible = "fixed-clock";
59 clock-frequency = <24000000>;
60 clock-output-names = "xtal";
64 pwrc: power-controller {
65 compatible = "amlogic,meson-s4-pwrc";
66 #power-domain-cells = <1>;
71 compatible = "simple-bus";
76 gic: interrupt-controller@fff01000 {
77 compatible = "arm,gic-400";
78 #interrupt-cells = <3>;
81 reg = <0x0 0xfff01000 0 0x1000>,
82 <0x0 0xfff02000 0 0x2000>,
83 <0x0 0xfff04000 0 0x2000>,
84 <0x0 0xfff06000 0 0x2000>;
85 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
89 compatible = "simple-bus";
90 reg = <0x0 0xfe000000 0x0 0x480000>;
93 ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>;
95 periphs_pinctrl: pinctrl@4000 {
96 compatible = "amlogic,meson-s4-periphs-pinctrl";
102 reg = <0x0 0x4000 0x0 0x004c>,
103 <0x0 0x40c0 0x0 0x0220>;
104 reg-names = "mux", "gpio";
107 gpio-ranges = <&periphs_pinctrl 0 0 82>;
110 remote_pins: remote-pin {
112 groups = "remote_in";
113 function = "remote_in";
119 gpio_intc: interrupt-controller@4080 {
120 compatible = "amlogic,meson-s4-gpio-intc",
121 "amlogic,meson-gpio-intc";
122 reg = <0x0 0x4080 0x0 0x20>;
123 interrupt-controller;
124 #interrupt-cells = <2>;
125 amlogic,channel-interrupts =
126 <10 11 12 13 14 15 16 17 18 19 20 21>;
129 uart_B: serial@7a000 {
130 compatible = "amlogic,meson-s4-uart",
131 "amlogic,meson-ao-uart";
132 reg = <0x0 0x7a000 0x0 0x18>;
133 interrupts = <GIC_SPI 169 IRQ_TYPE_EDGE_RISING>;
135 clocks = <&xtal>, <&xtal>, <&xtal>;
136 clock-names = "xtal", "pclk", "baud";
139 reset: reset-controller@2000 {
140 compatible = "amlogic,meson-s4-reset";
141 reg = <0x0 0x2000 0x0 0x98>;
146 compatible = "amlogic,meson-s4-ir";
147 reg = <0x0 0x84040 0x0 0x30>;
148 interrupts = <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
153 compatible = "amlogic,meson-s4-rng";
154 reg = <0x0 0x440788 0x0 0x0c>;