1 /include/ "skeleton.dtsi"
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/gpio/gpio.h>
5 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
8 compatible = "marvell,kirkwood";
9 interrupt-parent = <&intc>;
17 compatible = "marvell,feroceon";
19 clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
20 clock-names = "cpu_clk", "ddrclk", "powersave";
31 compatible = "marvell,kirkwood-mbus", "simple-bus";
34 /* If a board file needs to change this ranges it must replace it completely */
35 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 /* internal-regs */
36 MBUS_ID(0x01, 0x2f) 0 0xf4000000 0x10000 /* nand flash */
37 MBUS_ID(0x03, 0x01) 0 0xf5000000 0x10000 /* crypto sram */
39 controller = <&mbusc>;
40 pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
41 pcie-io-aperture = <0xf2000000 0x100000>; /* 1 MiB I/O space */
44 compatible = "marvell,orion-crypto";
45 reg = <MBUS_ID(0xf0, 0x01) 0x30000 0x10000>,
46 <MBUS_ID(0x03, 0x01) 0 0x800>;
47 reg-names = "regs", "sram";
49 clocks = <&gate_clk 17>;
59 compatible = "marvell,orion-nand";
60 reg = <MBUS_ID(0x01, 0x2f) 0 0x400>;
62 /* set partition map and/or chip-delay in board dts */
63 clocks = <&gate_clk 7>;
69 compatible = "simple-bus";
70 ranges = <0x00000000 0xf1000000 0x0100000>;
74 core_clk: core-clocks@10030 {
75 compatible = "marvell,kirkwood-core-clock";
81 compatible = "marvell,orion-spi";
87 clocks = <&gate_clk 7>;
92 compatible = "marvell,orion-gpio";
98 #interrupt-cells = <2>;
99 interrupts = <35>, <36>, <37>, <38>;
100 clocks = <&gate_clk 7>;
104 compatible = "marvell,orion-gpio";
107 reg = <0x10140 0x40>;
109 interrupt-controller;
110 #interrupt-cells = <2>;
111 interrupts = <39>, <40>, <41>;
112 clocks = <&gate_clk 7>;
116 compatible = "marvell,mv64xxx-i2c";
117 reg = <0x11000 0x20>;
118 #address-cells = <1>;
121 clock-frequency = <100000>;
122 clocks = <&gate_clk 7>;
127 compatible = "ns16550a";
128 reg = <0x12000 0x100>;
131 clocks = <&gate_clk 7>;
136 compatible = "ns16550a";
137 reg = <0x12100 0x100>;
140 clocks = <&gate_clk 7>;
144 mbusc: mbus-controller@20000 {
145 compatible = "marvell,mbus-controller";
146 reg = <0x20000 0x80>, <0x1500 0x20>;
149 system-controller@20000 {
150 compatible = "marvell,orion-system-controller";
151 reg = <0x20000 0x120>;
154 bridge_intc: bridge-interrupt-ctrl@20110 {
155 compatible = "marvell,orion-bridge-intc";
156 interrupt-controller;
157 #interrupt-cells = <1>;
160 marvell,#interrupts = <6>;
163 gate_clk: clock-gating-control@2011c {
164 compatible = "marvell,kirkwood-gating-clock";
166 clocks = <&core_clk 0>;
171 compatible = "marvell,kirkwood-cache";
175 intc: main-interrupt-ctrl@20200 {
176 compatible = "marvell,orion-intc";
177 interrupt-controller;
178 #interrupt-cells = <1>;
179 reg = <0x20200 0x10>, <0x20210 0x10>;
183 compatible = "marvell,orion-timer";
184 reg = <0x20300 0x20>;
185 interrupt-parent = <&bridge_intc>;
186 interrupts = <1>, <2>;
187 clocks = <&core_clk 0>;
190 wdt: watchdog-timer@20300 {
191 compatible = "marvell,orion-wdt";
192 reg = <0x20300 0x28>, <0x20108 0x4>;
193 interrupt-parent = <&bridge_intc>;
195 clocks = <&gate_clk 7>;
200 compatible = "marvell,orion-ehci";
201 reg = <0x50000 0x1000>;
203 clocks = <&gate_clk 3>;
208 compatible = "marvell,orion-xor";
212 clocks = <&gate_clk 8>;
228 compatible = "marvell,orion-xor";
232 clocks = <&gate_clk 16>;
247 eth0: ethernet-controller@72000 {
248 compatible = "marvell,kirkwood-eth";
249 #address-cells = <1>;
251 reg = <0x72000 0x4000>;
252 clocks = <&gate_clk 0>;
253 marvell,tx-checksum-limit = <1600>;
257 compatible = "marvell,kirkwood-eth-port";
260 /* overwrite MAC address in bootloader */
261 local-mac-address = [00 00 00 00 00 00];
262 /* set phy-handle property in board file */
266 mdio: mdio-bus@72004 {
267 compatible = "marvell,orion-mdio";
268 #address-cells = <1>;
270 reg = <0x72004 0x84>;
272 clocks = <&gate_clk 0>;
275 /* add phy nodes in board file */
278 eth1: ethernet-controller@76000 {
279 compatible = "marvell,kirkwood-eth";
280 #address-cells = <1>;
282 reg = <0x76000 0x4000>;
283 clocks = <&gate_clk 19>;
284 marvell,tx-checksum-limit = <1600>;
288 compatible = "marvell,kirkwood-eth-port";
291 /* overwrite MAC address in bootloader */
292 local-mac-address = [00 00 00 00 00 00];
293 /* set phy-handle property in board file */
297 sata_phy0: sata-phy@82000 {
298 compatible = "marvell,mvebu-sata-phy";
299 reg = <0x82000 0x0334>;
300 clocks = <&gate_clk 14>;
301 clock-names = "sata";
306 sata_phy1: sata-phy@84000 {
307 compatible = "marvell,mvebu-sata-phy";
308 reg = <0x84000 0x0334>;
309 clocks = <&gate_clk 15>;
310 clock-names = "sata";
315 audio0: audio-controller@a0000 {
316 compatible = "marvell,kirkwood-audio";
317 reg = <0xa0000 0x2210>;
319 clocks = <&gate_clk 9>;
320 clock-names = "internal";