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>
8 #include <dt-bindings/reset/bitmain,bm1880-reset.h>
11 compatible = "bitmain,bm1880";
12 interrupt-parent = <&gic>;
22 compatible = "arm,cortex-a53";
24 enable-method = "psci";
29 compatible = "arm,cortex-a53";
31 enable-method = "psci";
41 reg = <0x1 0x00000000 0x0 0x20000>;
46 reg = <0x1 0x30000000 0x0 0x08000000>; // 128M
51 reg = <0x1 0x38000000 0x0 0x08000000>; // 128M
57 compatible = "arm,psci-0.2";
62 compatible = "arm,armv8-timer";
63 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
64 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
65 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
66 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
70 compatible = "simple-bus";
75 gic: interrupt-controller@50001000 {
76 compatible = "arm,gic-400";
77 reg = <0x0 0x50001000 0x0 0x1000>,
78 <0x0 0x50002000 0x0 0x2000>;
79 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
81 #interrupt-cells = <3>;
84 sctrl: system-controller@50010000 {
85 compatible = "bitmain,bm1880-sctrl", "syscon",
87 reg = <0x0 0x50010000 0x0 0x1000>;
90 ranges = <0x0 0x0 0x50010000 0x1000>;
92 pinctrl: pinctrl@400 {
93 compatible = "bitmain,bm1880-pinctrl";
97 rst: reset-controller@c00 {
98 compatible = "bitmain,bm1880-reset";
104 gpio0: gpio@50027000 {
105 #address-cells = <1>;
107 compatible = "snps,dw-apb-gpio";
108 reg = <0x0 0x50027000 0x0 0x400>;
110 porta: gpio-controller@0 {
111 compatible = "snps,dw-apb-gpio-port";
114 snps,nr-gpios = <32>;
116 interrupt-controller;
117 #interrupt-cells = <2>;
118 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
122 gpio1: gpio@50027400 {
123 #address-cells = <1>;
125 compatible = "snps,dw-apb-gpio";
126 reg = <0x0 0x50027400 0x0 0x400>;
128 portb: gpio-controller@0 {
129 compatible = "snps,dw-apb-gpio-port";
132 snps,nr-gpios = <32>;
134 interrupt-controller;
135 #interrupt-cells = <2>;
136 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
140 gpio2: gpio@50027800 {
141 #address-cells = <1>;
143 compatible = "snps,dw-apb-gpio";
144 reg = <0x0 0x50027800 0x0 0x400>;
146 portc: gpio-controller@0 {
147 compatible = "snps,dw-apb-gpio-port";
152 interrupt-controller;
153 #interrupt-cells = <2>;
154 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
158 uart0: serial@58018000 {
159 compatible = "snps,dw-apb-uart";
160 reg = <0x0 0x58018000 0x0 0x2000>;
161 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
164 resets = <&rst BM1880_RST_UART0_1_CLK>;
168 uart1: serial@5801A000 {
169 compatible = "snps,dw-apb-uart";
170 reg = <0x0 0x5801a000 0x0 0x2000>;
171 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
174 resets = <&rst BM1880_RST_UART0_1_ACLK>;
178 uart2: serial@5801C000 {
179 compatible = "snps,dw-apb-uart";
180 reg = <0x0 0x5801c000 0x0 0x2000>;
181 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
184 resets = <&rst BM1880_RST_UART2_3_CLK>;
188 uart3: serial@5801E000 {
189 compatible = "snps,dw-apb-uart";
190 reg = <0x0 0x5801e000 0x0 0x2000>;
191 interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
194 resets = <&rst BM1880_RST_UART2_3_ACLK>;