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";
30 compatible = "marvell,kirkwood-mbus", "simple-bus";
33 /* If a board file needs to change this ranges it must replace it completely */
34 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000 /* internal-regs */
35 MBUS_ID(0x01, 0x2f) 0 0xf4000000 0x10000 /* nand flash */
36 MBUS_ID(0x03, 0x01) 0 0xf5000000 0x10000 /* crypto sram */
38 controller = <&mbusc>;
39 pcie-mem-aperture = <0xe0000000 0x10000000>; /* 256 MiB memory space */
40 pcie-io-aperture = <0xf2000000 0x100000>; /* 1 MiB I/O space */
43 compatible = "marvell,orion-crypto";
44 reg = <MBUS_ID(0xf0, 0x01) 0x30000 0x10000>,
45 <MBUS_ID(0x03, 0x01) 0 0x800>;
46 reg-names = "regs", "sram";
48 clocks = <&gate_clk 17>;
58 compatible = "marvell,orion-nand";
59 reg = <MBUS_ID(0x01, 0x2f) 0 0x400>;
61 /* set partition map and/or chip-delay in board dts */
62 clocks = <&gate_clk 7>;
68 compatible = "simple-bus";
69 ranges = <0x00000000 0xf1000000 0x0100000>;
73 core_clk: core-clocks@10030 {
74 compatible = "marvell,kirkwood-core-clock";
80 compatible = "marvell,orion-spi";
86 clocks = <&gate_clk 7>;
91 compatible = "marvell,orion-gpio";
97 #interrupt-cells = <2>;
98 interrupts = <35>, <36>, <37>, <38>;
99 clocks = <&gate_clk 7>;
103 compatible = "marvell,orion-gpio";
106 reg = <0x10140 0x40>;
108 interrupt-controller;
109 #interrupt-cells = <2>;
110 interrupts = <39>, <40>, <41>;
111 clocks = <&gate_clk 7>;
115 compatible = "marvell,mv64xxx-i2c";
116 reg = <0x11000 0x20>;
117 #address-cells = <1>;
120 clock-frequency = <100000>;
121 clocks = <&gate_clk 7>;
126 compatible = "ns16550a";
127 reg = <0x12000 0x100>;
130 clocks = <&gate_clk 7>;
135 compatible = "ns16550a";
136 reg = <0x12100 0x100>;
139 clocks = <&gate_clk 7>;
143 mbusc: mbus-controller@20000 {
144 compatible = "marvell,mbus-controller";
145 reg = <0x20000 0x80>, <0x1500 0x20>;
148 bridge_intc: bridge-interrupt-ctrl@20110 {
149 compatible = "marvell,orion-bridge-intc";
150 interrupt-controller;
151 #interrupt-cells = <1>;
154 marvell,#interrupts = <6>;
157 gate_clk: clock-gating-control@2011c {
158 compatible = "marvell,kirkwood-gating-clock";
160 clocks = <&core_clk 0>;
164 intc: main-interrupt-ctrl@20200 {
165 compatible = "marvell,orion-intc";
166 interrupt-controller;
167 #interrupt-cells = <1>;
168 reg = <0x20200 0x10>, <0x20210 0x10>;
172 compatible = "marvell,orion-timer";
173 reg = <0x20300 0x20>;
174 interrupt-parent = <&bridge_intc>;
175 interrupts = <1>, <2>;
176 clocks = <&core_clk 0>;
179 wdt: watchdog-timer@20300 {
180 compatible = "marvell,orion-wdt";
181 reg = <0x20300 0x28>;
182 interrupt-parent = <&bridge_intc>;
184 clocks = <&gate_clk 7>;
189 compatible = "marvell,orion-ehci";
190 reg = <0x50000 0x1000>;
192 clocks = <&gate_clk 3>;
197 compatible = "marvell,orion-xor";
201 clocks = <&gate_clk 8>;
217 compatible = "marvell,orion-xor";
221 clocks = <&gate_clk 16>;
236 eth0: ethernet-controller@72000 {
237 compatible = "marvell,kirkwood-eth";
238 #address-cells = <1>;
240 reg = <0x72000 0x4000>;
241 clocks = <&gate_clk 0>;
242 marvell,tx-checksum-limit = <1600>;
246 compatible = "marvell,kirkwood-eth-port";
249 /* overwrite MAC address in bootloader */
250 local-mac-address = [00 00 00 00 00 00];
251 /* set phy-handle property in board file */
255 mdio: mdio-bus@72004 {
256 compatible = "marvell,orion-mdio";
257 #address-cells = <1>;
259 reg = <0x72004 0x84>;
261 clocks = <&gate_clk 0>;
264 /* add phy nodes in board file */
267 eth1: ethernet-controller@76000 {
268 compatible = "marvell,kirkwood-eth";
269 #address-cells = <1>;
271 reg = <0x76000 0x4000>;
272 clocks = <&gate_clk 19>;
273 marvell,tx-checksum-limit = <1600>;
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 */
286 sata_phy0: sata-phy@82000 {
287 compatible = "marvell,mvebu-sata-phy";
288 reg = <0x82000 0x0334>;
289 clocks = <&gate_clk 14>;
290 clock-names = "sata";
295 sata_phy1: sata-phy@84000 {
296 compatible = "marvell,mvebu-sata-phy";
297 reg = <0x84000 0x0334>;
298 clocks = <&gate_clk 15>;
299 clock-names = "sata";