brcm63xx: rename target to bcm63xx
[openwrt/staging/wigyori.git] / target / linux / bcm63xx / dts / bcm6348.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "brcm,bcm6348";
5
6 aliases {
7 pflash = &pflash;
8 pinctrl = &pinctrl;
9 serial0 = &uart0;
10 spi0 = &lsspi;
11 };
12
13 cpus {
14 #address-cells = <1>;
15 #size-cells = <0>;
16
17 cpu@0 {
18 compatible = "brcm,bmips3300", "mips,mips4Kc";
19 device_type = "cpu";
20 reg = <0>;
21 };
22 };
23
24 cpu_intc: interrupt-controller {
25 #address-cells = <0>;
26 compatible = "mti,cpu-interrupt-controller";
27
28 interrupt-controller;
29 #interrupt-cells = <1>;
30 };
31
32 memory { device_type = "memory"; reg = <0 0>; };
33
34 pflash: nor@1fc00000 {
35 compatible = "cfi-flash";
36 reg = <0x1fc00000 0x400000>;
37 bank-width = <2>;
38 #address-cells = <1>;
39 #size-cells = <1>;
40
41 status = "disabled";
42 };
43
44 ubus@fff00000 {
45 #address-cells = <1>;
46 #size-cells = <1>;
47 ranges;
48 compatible = "simple-bus";
49 interrupt-parent = <&periph_intc>;
50
51 periph_intc: interrupt-controller@fffe000c {
52 compatible = "brcm,bcm6345-l1-intc";
53 reg = <0xfffe000c 0x8>;
54
55 interrupt-controller;
56 #interrupt-cells = <1>;
57
58 interrupt-parent = <&cpu_intc>;
59 interrupts = <2>;
60 };
61
62 ext_intc: interrupt-controller@fffe0014 {
63 compatible = "brcm,bcm6345-ext-intc";
64 reg = <0xfffe0014 0x4>;
65
66 interrupt-controller;
67 #interrupt-cells = <2>;
68
69 interrupt-parent = <&cpu_intc>;
70 interrupts = <3>, <4>, <5>, <6>;
71
72 brcm,field-width = <5>;
73 };
74
75 pinctrl: pin-controller@fffe0400 {
76 compatible = "brcm,bcm6348-pinctrl";
77 reg = <0xfffe0400 0x8>,
78 <0xfffe0408 0x8>,
79 <0xfffe0418 0x4>;
80 reg-names = "dirout", "dat", "mode";
81
82 gpio-controller;
83 #gpio-cells = <2>;
84
85 interrupt-parent = <&ext_intc>;
86 interrupts = <0 0>, <1 0>, <2 0>, <3 0>;
87 interrupt-names = "gpio32", "gpio33", "gpio34", "gpio35";
88
89 pinctrl_ext_ephy: ext_ephy {
90 function = "ext_ephy";
91 groups = "group1", "group4";
92 };
93
94 pinctrl_mii_snoop: mii_snoop {
95 function = "ext_ephy";
96 groups = "group1", "group4";
97 };
98
99 pinctrl_legacy_led: legacy_led {
100 function = "legacy_led";
101 groups = "group4";
102 };
103
104 pinctrl_mii_pccard: mii_pccard {
105 function = "mii_pccard";
106 groups = "group1";
107 };
108
109 pinctrl_pci: pci {
110 function = "pci";
111 groups = "group2";
112 };
113
114 pinctrl_spi_master_uart: spi_master_uart {
115 function = "spi_master_uart";
116 groups = "group1";
117 };
118
119 pinctrl_ext_mii: ext_mii {
120 function = "ext_mii";
121 groups = "group0", "group3";
122 };
123
124 pinctrl_utopia: utopia {
125 function = "utopia";
126 groups = "group0", "group1", "group3";
127 };
128 };
129
130 uart0: serial@fffe0300 {
131 compatible = "brcm,bcm6345-uart";
132 reg = <0xfffe0300 0x18>;
133
134 interrupt-parent = <&periph_intc>;
135 interrupts = <2>;
136
137 /* clocks = <&periph_clk>; */
138 /* clock-names = "refclk"; */
139
140 status = "disabled";
141 };
142
143 lsspi: spi@fffe0c00 {
144 #address-cells = <1>;
145 #size-cells = <0>;
146 compatible = "brcm,bcm6348-spi";
147 reg = <0xfffe0c00 0x40>;
148 interrupts = <1>;
149 /* clocks = <&clkctl 9>; */
150
151 };
152 };
153 };