1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 Linaro Ltd.
4 * Author: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 compatible = "bitmain,bm1880";
11 interrupt-parent = <&gic>;
21 compatible = "arm,cortex-a53";
23 enable-method = "psci";
28 compatible = "arm,cortex-a53";
30 enable-method = "psci";
40 reg = <0x1 0x00000000 0x0 0x20000>;
45 reg = <0x1 0x30000000 0x0 0x08000000>; // 128M
50 reg = <0x1 0x38000000 0x0 0x08000000>; // 128M
56 compatible = "arm,psci-0.2";
61 compatible = "arm,armv8-timer";
62 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
63 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
64 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
65 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
69 compatible = "simple-bus";
74 gic: interrupt-controller@50001000 {
75 compatible = "arm,gic-400";
76 reg = <0x0 0x50001000 0x0 0x1000>,
77 <0x0 0x50002000 0x0 0x2000>;
78 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
80 #interrupt-cells = <3>;
83 sctrl: system-controller@50010000 {
84 compatible = "bitmain,bm1880-sctrl", "syscon",
86 reg = <0x0 0x50010000 0x0 0x1000>;
89 ranges = <0x0 0x0 0x50010000 0x1000>;
92 compatible = "bitmain,bm1880-pinctrl";
97 gpio0: gpio@50027000 {
100 compatible = "snps,dw-apb-gpio";
101 reg = <0x0 0x50027000 0x0 0x400>;
103 porta: gpio-controller@0 {
104 compatible = "snps,dw-apb-gpio-port";
107 snps,nr-gpios = <32>;
109 interrupt-controller;
110 #interrupt-cells = <2>;
111 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
115 gpio1: gpio@50027400 {
116 #address-cells = <1>;
118 compatible = "snps,dw-apb-gpio";
119 reg = <0x0 0x50027400 0x0 0x400>;
121 portb: gpio-controller@0 {
122 compatible = "snps,dw-apb-gpio-port";
125 snps,nr-gpios = <32>;
127 interrupt-controller;
128 #interrupt-cells = <2>;
129 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
133 gpio2: gpio@50027800 {
134 #address-cells = <1>;
136 compatible = "snps,dw-apb-gpio";
137 reg = <0x0 0x50027800 0x0 0x400>;
139 portc: gpio-controller@0 {
140 compatible = "snps,dw-apb-gpio-port";
145 interrupt-controller;
146 #interrupt-cells = <2>;
147 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
151 uart0: serial@58018000 {
152 compatible = "snps,dw-apb-uart";
153 reg = <0x0 0x58018000 0x0 0x2000>;
154 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
160 uart1: serial@5801A000 {
161 compatible = "snps,dw-apb-uart";
162 reg = <0x0 0x5801a000 0x0 0x2000>;
163 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
169 uart2: serial@5801C000 {
170 compatible = "snps,dw-apb-uart";
171 reg = <0x0 0x5801c000 0x0 0x2000>;
172 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
178 uart3: serial@5801E000 {
179 compatible = "snps,dw-apb-uart";
180 reg = <0x0 0x5801e000 0x0 0x2000>;
181 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;