blob: 2902e0d7971d061599d13ef8733e3a3c4ad49fd2 [file] [log] [blame]
Andrew Lunn82bb2da2012-11-17 17:00:45 +01001/ {
Ezequiel Garcia54397d82013-07-26 10:18:05 -03002 mbus {
3 pcie-controller {
4 compatible = "marvell,kirkwood-pcie";
5 status = "disabled";
6 device_type = "pci";
7
8 #address-cells = <3>;
9 #size-cells = <2>;
10
11 bus-range = <0x00 0xff>;
12
13 ranges =
14 <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
15 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000
16 0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000
17 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
18 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */
19 0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1.0 MEM */
20 0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1.0 IO */>;
21
22 pcie@1,0 {
23 device_type = "pci";
24 assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>;
25 reg = <0x0800 0 0 0 0>;
26 #address-cells = <3>;
27 #size-cells = <2>;
28 #interrupt-cells = <1>;
29 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
30 0x81000000 0 0 0x81000000 0x1 0 1 0>;
31 interrupt-map-mask = <0 0 0 0>;
32 interrupt-map = <0 0 0 0 &intc 9>;
33 marvell,pcie-port = <0>;
34 marvell,pcie-lane = <0>;
35 clocks = <&gate_clk 2>;
36 status = "disabled";
37 };
38
39 pcie@2,0 {
40 device_type = "pci";
41 assigned-addresses = <0x82001000 0 0x00044000 0 0x2000>;
42 reg = <0x1000 0 0 0 0>;
43 #address-cells = <3>;
44 #size-cells = <2>;
45 #interrupt-cells = <1>;
46 ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
47 0x81000000 0 0 0x81000000 0x2 0 1 0>;
48 interrupt-map-mask = <0 0 0 0>;
49 interrupt-map = <0 0 0 0 &intc 10>;
50 marvell,pcie-port = <1>;
51 marvell,pcie-lane = <0>;
52 clocks = <&gate_clk 18>;
53 status = "disabled";
54 };
55 };
56 };
Andrew Lunn82bb2da2012-11-17 17:00:45 +010057 ocp@f1000000 {
58
59 pinctrl: pinctrl@10000 {
60 compatible = "marvell,88f6282-pinctrl";
61 reg = <0x10000 0x20>;
62
Nobuhiro Iwamatsu92904692012-12-23 11:34:36 +090063 pmx_nand: pmx-nand {
64 marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3",
65 "mpp4", "mpp5", "mpp18", "mpp19";
66 marvell,function = "nand";
67 };
68
Andrew Lunn82bb2da2012-11-17 17:00:45 +010069 pmx_sata0: pmx-sata0 {
70 marvell,pins = "mpp5", "mpp21", "mpp23";
71 marvell,function = "sata0";
72 };
73 pmx_sata1: pmx-sata1 {
74 marvell,pins = "mpp4", "mpp20", "mpp22";
75 marvell,function = "sata1";
76 };
77 pmx_spi: pmx-spi {
78 marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3";
79 marvell,function = "spi";
80 };
81 pmx_twsi0: pmx-twsi0 {
82 marvell,pins = "mpp8", "mpp9";
83 marvell,function = "twsi0";
84 };
Nobuhiro Iwamatsu00211e92012-12-23 11:34:34 +090085
86 pmx_twsi1: pmx-twsi1 {
87 marvell,pins = "mpp36", "mpp37";
88 marvell,function = "twsi1";
89 };
90
Andrew Lunn82bb2da2012-11-17 17:00:45 +010091 pmx_uart0: pmx-uart0 {
92 marvell,pins = "mpp10", "mpp11";
93 marvell,function = "uart0";
94 };
95
96 pmx_uart1: pmx-uart1 {
97 marvell,pins = "mpp13", "mpp14";
98 marvell,function = "uart1";
99 };
Thomas Petazzoni8059fc12012-12-21 15:49:13 +0100100 pmx_sdio: pmx-sdio {
101 marvell,pins = "mpp12", "mpp13", "mpp14",
102 "mpp15", "mpp16", "mpp17";
103 marvell,function = "sdio";
104 };
Andrew Lunn82bb2da2012-11-17 17:00:45 +0100105 };
Nobuhiro Iwamatsu083651f2012-11-23 06:58:34 +0900106
Jason Cooperd8e0a2b2013-12-22 17:16:36 +0000107 thermal@10078 {
108 compatible = "marvell,kirkwood-thermal";
109 reg = <0x10078 0x4>;
110 status = "okay";
111 };
112
Valentin Longchampdf6bf2e2013-05-27 17:40:32 +0200113 rtc@10300 {
114 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
115 reg = <0x10300 0x20>;
116 interrupts = <53>;
117 clocks = <&gate_clk 7>;
118 };
119
Jason Cooperd8e0a2b2013-12-22 17:16:36 +0000120 i2c@11100 {
121 compatible = "marvell,mv64xxx-i2c";
122 reg = <0x11100 0x20>;
123 #address-cells = <1>;
124 #size-cells = <0>;
125 interrupts = <32>;
126 clock-frequency = <100000>;
127 clocks = <&gate_clk 7>;
128 status = "disabled";
129 };
130
Valentin Longchampdf6bf2e2013-05-27 17:40:32 +0200131 sata@80000 {
132 compatible = "marvell,orion-sata";
133 reg = <0x80000 0x5000>;
134 interrupts = <21>;
135 clocks = <&gate_clk 14>, <&gate_clk 15>;
136 clock-names = "0", "1";
Andrew Lunn0ad82cd2013-12-17 21:21:52 +0100137 phys = <&sata_phy0>, <&sata_phy1>;
138 phy-names = "port0", "port1";
Valentin Longchampdf6bf2e2013-05-27 17:40:32 +0200139 status = "disabled";
140 };
141
142 mvsdio@90000 {
143 compatible = "marvell,orion-sdio";
144 reg = <0x90000 0x200>;
145 interrupts = <28>;
146 clocks = <&gate_clk 4>;
Sebastian Hesselbarth02423992013-11-15 15:20:24 +0100147 pinctrl-0 = <&pmx_sdio>;
148 pinctrl-names = "default";
Valentin Longchampdf6bf2e2013-05-27 17:40:32 +0200149 bus-width = <4>;
150 cap-sdio-irq;
151 cap-sd-highspeed;
152 cap-mmc-highspeed;
153 status = "disabled";
154 };
Andrew Lunn82bb2da2012-11-17 17:00:45 +0100155 };
Nobuhiro Iwamatsu083651f2012-11-23 06:58:34 +0900156};