2 * Copyright (c) 2015 HiSilicon Technologies Co., Ltd.
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #include <dt-bindings/clock/hi3519-clock.h>
20 #include <dt-bindings/interrupt-controller/arm-gic.h>
32 compatible = "arm,cortex-a7";
37 gic: interrupt-controller@10300000 {
38 compatible = "arm,cortex-a7-gic";
39 #interrupt-cells = <3>;
41 reg = <0x10301000 0x1000>, <0x10302000 0x1000>;
45 compatible = "fixed-clock";
47 clock-frequency = <3000000>;
50 crg: clock-reset-controller@12010000 {
51 compatible = "hisilicon,hi3519-crg";
54 reg = <0x12010000 0x10000>;
60 compatible = "simple-bus";
61 interrupt-parent = <&gic>;
64 uart0: serial@12100000 {
65 compatible = "arm,pl011", "arm,primecell";
66 reg = <0x12100000 0x1000>;
67 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
68 clocks = <&crg HI3519_UART0_CLK>;
69 clock-names = "apb_pclk";
73 uart1: serial@12101000 {
74 compatible = "arm,pl011", "arm,primecell";
75 reg = <0x12101000 0x1000>;
76 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
77 clocks = <&crg HI3519_UART1_CLK>;
78 clock-names = "apb_pclk";
82 uart2: serial@12102000 {
83 compatible = "arm,pl011", "arm,primecell";
84 reg = <0x12102000 0x1000>;
85 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
86 clocks = <&crg HI3519_UART2_CLK>;
87 clock-names = "apb_pclk";
91 uart3: serial@12103000 {
92 compatible = "arm,pl011", "arm,primecell";
93 reg = <0x12103000 0x1000>;
94 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
95 clocks = <&crg HI3519_UART3_CLK>;
96 clock-names = "apb_pclk";
100 uart4: serial@12104000 {
101 compatible = "arm,pl011", "arm,primecell";
102 reg = <0x12104000 0x1000>;
103 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
104 clocks = <&crg HI3519_UART4_CLK>;
105 clock-names = "apb_pclk";
109 dual_timer0: timer@12000000 {
110 compatible = "arm,sp804", "arm,primecell";
111 interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>,
112 <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
113 reg = <0x12000000 0x1000>;
115 clock-names = "apb_pclk";
119 dual_timer1: timer@12001000 {
120 compatible = "arm,sp804", "arm,primecell";
121 interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>,
122 <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
123 reg = <0x12001000 0x1000>;
125 clock-names = "apb_pclk";
129 dual_timer2: timer@12002000 {
130 compatible = "arm,sp804", "arm,primecell";
131 interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
132 <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
133 reg = <0x12002000 0x1000>;
135 clock-names = "apb_pclk";
139 spi_bus0: spi@12120000 {
140 compatible = "arm,pl022", "arm,primecell";
141 reg = <0x12120000 0x1000>;
142 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
143 clocks = <&crg HI3519_SPI0_CLK>;
144 clock-names = "apb_pclk";
146 #address-cells = <1>;
151 spi_bus1: spi@12121000 {
152 compatible = "arm,pl022", "arm,primecell";
153 reg = <0x12121000 0x1000>;
154 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
155 clocks = <&crg HI3519_SPI1_CLK>;
156 clock-names = "apb_pclk";
158 #address-cells = <1>;
163 spi_bus2: spi@12122000 {
164 compatible = "arm,pl022", "arm,primecell";
165 reg = <0x12122000 0x1000>;
166 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
167 clocks = <&crg HI3519_SPI2_CLK>;
168 clock-names = "apb_pclk";
170 #address-cells = <1>;
175 sysctrl: system-controller@12020000 {
176 compatible = "hisilicon,hi3519-sysctrl", "syscon";
177 reg = <0x12020000 0x1000>;
181 compatible = "syscon-reboot";