1 /include/ "skeleton.dtsi"
3 #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
6 compatible = "marvell,kirkwood";
7 interrupt-parent = <&intc>;
15 compatible = "marvell,feroceon";
17 clocks = <&core_clk 1>, <&core_clk 3>, <&gate_clk 11>;
18 clock-names = "cpu_clk", "ddrclk", "powersave";
28 compatible = "marvell,kirkwood-mbus", "simple-bus";
31 /* If a board file needs to change this ranges it must replace it completely */
32 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 /* internal-regs */
33 MBUS_ID(0x01, 0x2f) 0 0xf4000000 0x10000 /* nand flash */
34 MBUS_ID(0x03, 0x01) 0 0xf5000000 0x10000 /* crypto sram */
36 controller = <&mbusc>;
37 pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
38 pcie-io-aperture = <0xf2000000 0x100000>; /* 1 MiB I/O space */
41 compatible = "marvell,orion-crypto";
42 reg = <MBUS_ID(0xf0, 0x01) 0x30000 0x10000>,
43 <MBUS_ID(0x03, 0x01) 0 0x800>;
44 reg-names = "regs", "sram";
46 clocks = <&gate_clk 17>;
56 compatible = "marvell,orion-nand";
57 reg = <MBUS_ID(0x01, 0x2f) 0 0x400>;
59 /* set partition map and/or chip-delay in board dts */
60 clocks = <&gate_clk 7>;
66 compatible = "simple-bus";
67 ranges = <0x00000000 0xf1000000 0x0100000>;
71 mbusc: mbus-controller@20000 {
72 compatible = "marvell,mbus-controller";
73 reg = <0x20000 0x80>, <0x1500 0x20>;
77 compatible = "marvell,orion-timer";
79 interrupt-parent = <&bridge_intc>;
80 interrupts = <1>, <2>;
81 clocks = <&core_clk 0>;
84 intc: main-interrupt-ctrl@20200 {
85 compatible = "marvell,orion-intc";
87 #interrupt-cells = <1>;
88 reg = <0x20200 0x10>, <0x20210 0x10>;
91 bridge_intc: bridge-interrupt-ctrl@20110 {
92 compatible = "marvell,orion-bridge-intc";
94 #interrupt-cells = <1>;
97 marvell,#interrupts = <6>;
100 core_clk: core-clocks@10030 {
101 compatible = "marvell,kirkwood-core-clock";
107 compatible = "marvell,orion-gpio";
110 reg = <0x10100 0x40>;
112 interrupt-controller;
113 #interrupt-cells = <2>;
114 interrupts = <35>, <36>, <37>, <38>;
115 clocks = <&gate_clk 7>;
119 compatible = "marvell,orion-gpio";
122 reg = <0x10140 0x40>;
124 interrupt-controller;
125 #interrupt-cells = <2>;
126 interrupts = <39>, <40>, <41>;
127 clocks = <&gate_clk 7>;
131 compatible = "ns16550a";
132 reg = <0x12000 0x100>;
135 clocks = <&gate_clk 7>;
140 compatible = "ns16550a";
141 reg = <0x12100 0x100>;
144 clocks = <&gate_clk 7>;
149 compatible = "marvell,orion-spi";
150 #address-cells = <1>;
154 reg = <0x10600 0x28>;
155 clocks = <&gate_clk 7>;
159 gate_clk: clock-gating-control@2011c {
160 compatible = "marvell,kirkwood-gating-clock";
162 clocks = <&core_clk 0>;
166 wdt: watchdog-timer@20300 {
167 compatible = "marvell,orion-wdt";
168 reg = <0x20300 0x28>;
169 interrupt-parent = <&bridge_intc>;
171 clocks = <&gate_clk 7>;
176 compatible = "marvell,orion-xor";
180 clocks = <&gate_clk 8>;
196 compatible = "marvell,orion-xor";
200 clocks = <&gate_clk 16>;
216 compatible = "marvell,orion-ehci";
217 reg = <0x50000 0x1000>;
219 clocks = <&gate_clk 3>;
224 compatible = "marvell,mv64xxx-i2c";
225 reg = <0x11000 0x20>;
226 #address-cells = <1>;
229 clock-frequency = <100000>;
230 clocks = <&gate_clk 7>;
234 mdio: mdio-bus@72004 {
235 compatible = "marvell,orion-mdio";
236 #address-cells = <1>;
238 reg = <0x72004 0x84>;
240 clocks = <&gate_clk 0>;
243 /* add phy nodes in board file */
246 eth0: ethernet-controller@72000 {
247 compatible = "marvell,kirkwood-eth";
248 #address-cells = <1>;
250 reg = <0x72000 0x4000>;
251 clocks = <&gate_clk 0>;
252 marvell,tx-checksum-limit = <1600>;
256 device_type = "network";
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 eth1: ethernet-controller@76000 {
267 compatible = "marvell,kirkwood-eth";
268 #address-cells = <1>;
270 reg = <0x76000 0x4000>;
271 clocks = <&gate_clk 19>;
272 marvell,tx-checksum-limit = <1600>;
276 device_type = "network";
277 compatible = "marvell,kirkwood-eth-port";
280 /* overwrite MAC address in bootloader */
281 local-mac-address = [00 00 00 00 00 00];
282 /* set phy-handle property in board file */