Merge tag 'powerpc-4.6-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux/fpc-iii.git] / arch / mips / boot / dts / ingenic / jz4780.dtsi
blobb868b429add23af4c14f42a366b96760e49eee66
1 #include <dt-bindings/clock/jz4780-cgu.h>
3 / {
4         #address-cells = <1>;
5         #size-cells = <1>;
6         compatible = "ingenic,jz4780";
8         cpuintc: interrupt-controller {
9                 #address-cells = <0>;
10                 #interrupt-cells = <1>;
11                 interrupt-controller;
12                 compatible = "mti,cpu-interrupt-controller";
13         };
15         intc: interrupt-controller@10001000 {
16                 compatible = "ingenic,jz4780-intc";
17                 reg = <0x10001000 0x50>;
19                 interrupt-controller;
20                 #interrupt-cells = <1>;
22                 interrupt-parent = <&cpuintc>;
23                 interrupts = <2>;
24         };
26         ext: ext {
27                 compatible = "fixed-clock";
28                 #clock-cells = <0>;
29         };
31         rtc: rtc {
32                 compatible = "fixed-clock";
33                 #clock-cells = <0>;
34                 clock-frequency = <32768>;
35         };
37         cgu: jz4780-cgu@10000000 {
38                 compatible = "ingenic,jz4780-cgu";
39                 reg = <0x10000000 0x100>;
41                 clocks = <&ext>, <&rtc>;
42                 clock-names = "ext", "rtc";
44                 #clock-cells = <1>;
45         };
47         uart0: serial@10030000 {
48                 compatible = "ingenic,jz4780-uart";
49                 reg = <0x10030000 0x100>;
51                 interrupt-parent = <&intc>;
52                 interrupts = <51>;
54                 clocks = <&ext>, <&cgu JZ4780_CLK_UART0>;
55                 clock-names = "baud", "module";
57                 status = "disabled";
58         };
60         uart1: serial@10031000 {
61                 compatible = "ingenic,jz4780-uart";
62                 reg = <0x10031000 0x100>;
64                 interrupt-parent = <&intc>;
65                 interrupts = <50>;
67                 clocks = <&ext>, <&cgu JZ4780_CLK_UART1>;
68                 clock-names = "baud", "module";
70                 status = "disabled";
71         };
73         uart2: serial@10032000 {
74                 compatible = "ingenic,jz4780-uart";
75                 reg = <0x10032000 0x100>;
77                 interrupt-parent = <&intc>;
78                 interrupts = <49>;
80                 clocks = <&ext>, <&cgu JZ4780_CLK_UART2>;
81                 clock-names = "baud", "module";
83                 status = "disabled";
84         };
86         uart3: serial@10033000 {
87                 compatible = "ingenic,jz4780-uart";
88                 reg = <0x10033000 0x100>;
90                 interrupt-parent = <&intc>;
91                 interrupts = <48>;
93                 clocks = <&ext>, <&cgu JZ4780_CLK_UART3>;
94                 clock-names = "baud", "module";
96                 status = "disabled";
97         };
99         uart4: serial@10034000 {
100                 compatible = "ingenic,jz4780-uart";
101                 reg = <0x10034000 0x100>;
103                 interrupt-parent = <&intc>;
104                 interrupts = <34>;
106                 clocks = <&ext>, <&cgu JZ4780_CLK_UART4>;
107                 clock-names = "baud", "module";
109                 status = "disabled";
110         };
112         nemc: nemc@13410000 {
113                 compatible = "ingenic,jz4780-nemc";
114                 reg = <0x13410000 0x10000>;
115                 #address-cells = <2>;
116                 #size-cells = <1>;
117                 ranges = <1 0 0x1b000000 0x1000000
118                           2 0 0x1a000000 0x1000000
119                           3 0 0x19000000 0x1000000
120                           4 0 0x18000000 0x1000000
121                           5 0 0x17000000 0x1000000
122                           6 0 0x16000000 0x1000000>;
124                 clocks = <&cgu JZ4780_CLK_NEMC>;
126                 status = "disabled";
127         };
129         bch: bch@134d0000 {
130                 compatible = "ingenic,jz4780-bch";
131                 reg = <0x134d0000 0x10000>;
133                 clocks = <&cgu JZ4780_CLK_BCH>;
135                 status = "disabled";
136         };