blob: 7dc7d6782e8325012b8b7ad8fe52676ab15ca404 [file] [log] [blame]
Andrew Lunn82bb2da2012-11-17 17:00:45 +01001/ {
Ezequiel Garcia54397d82013-07-26 10:18:05 -03002 mbus {
Sebastian Hesselbarth7b36efd2014-04-30 14:56:29 +02003 pciec: pcie-controller {
Ezequiel Garcia54397d82013-07-26 10:18:05 -03004 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 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
16 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>;
17
Sebastian Hesselbarth7b36efd2014-04-30 14:56:29 +020018 pcie0: pcie@1,0 {
Ezequiel Garcia54397d82013-07-26 10:18:05 -030019 device_type = "pci";
20 assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>;
21 reg = <0x0800 0 0 0 0>;
22 #address-cells = <3>;
23 #size-cells = <2>;
24 #interrupt-cells = <1>;
25 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
26 0x81000000 0 0 0x81000000 0x1 0 1 0>;
27 interrupt-map-mask = <0 0 0 0>;
28 interrupt-map = <0 0 0 0 &intc 9>;
29 marvell,pcie-port = <0>;
30 marvell,pcie-lane = <0>;
31 clocks = <&gate_clk 2>;
32 status = "disabled";
33 };
34 };
35 };
36
Andrew Lunn82bb2da2012-11-17 17:00:45 +010037 ocp@f1000000 {
Sebastian Hesselbartha9483962014-04-30 14:56:32 +020038 pinctrl: pin-controller@10000 {
Andrew Lunn82bb2da2012-11-17 17:00:45 +010039 compatible = "marvell,88f6281-pinctrl";
Andrew Lunn82bb2da2012-11-17 17:00:45 +010040
Andrew Lunn82bb2da2012-11-17 17:00:45 +010041 pmx_sata0: pmx-sata0 {
42 marvell,pins = "mpp5", "mpp21", "mpp23";
43 marvell,function = "sata0";
44 };
45 pmx_sata1: pmx-sata1 {
46 marvell,pins = "mpp4", "mpp20", "mpp22";
47 marvell,function = "sata1";
48 };
Stefan Peterde64ee52012-11-19 16:00:02 +010049 pmx_sdio: pmx-sdio {
50 marvell,pins = "mpp12", "mpp13", "mpp14",
51 "mpp15", "mpp16", "mpp17";
52 marvell,function = "sdio";
53 };
Andrew Lunn82bb2da2012-11-17 17:00:45 +010054 };
Thomas Petazzoni670ee032013-05-15 15:36:56 +020055
Sebastian Hesselbarth7b36efd2014-04-30 14:56:29 +020056 rtc: rtc@10300 {
Valentin Longchampdf6bf2e2013-05-27 17:40:32 +020057 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
58 reg = <0x10300 0x20>;
59 interrupts = <53>;
60 clocks = <&gate_clk 7>;
61 };
62
Sebastian Hesselbarth7b36efd2014-04-30 14:56:29 +020063 sata: sata@80000 {
Valentin Longchampdf6bf2e2013-05-27 17:40:32 +020064 compatible = "marvell,orion-sata";
65 reg = <0x80000 0x5000>;
66 interrupts = <21>;
67 clocks = <&gate_clk 14>, <&gate_clk 15>;
68 clock-names = "0", "1";
Andrew Lunn0ad82cd2013-12-17 21:21:52 +010069 phys = <&sata_phy0>, <&sata_phy1>;
70 phy-names = "port0", "port1";
Valentin Longchampdf6bf2e2013-05-27 17:40:32 +020071 status = "disabled";
72 };
73
Sebastian Hesselbarth7b36efd2014-04-30 14:56:29 +020074 sdio: mvsdio@90000 {
Valentin Longchampdf6bf2e2013-05-27 17:40:32 +020075 compatible = "marvell,orion-sdio";
76 reg = <0x90000 0x200>;
77 interrupts = <28>;
78 clocks = <&gate_clk 4>;
Sebastian Hesselbarth02423992013-11-15 15:20:24 +010079 pinctrl-0 = <&pmx_sdio>;
80 pinctrl-names = "default";
Valentin Longchampdf6bf2e2013-05-27 17:40:32 +020081 bus-width = <4>;
82 cap-sdio-irq;
83 cap-sd-highspeed;
84 cap-mmc-highspeed;
85 status = "disabled";
86 };
Andrew Lunn82bb2da2012-11-17 17:00:45 +010087 };
Stefan Peterde64ee52012-11-19 16:00:02 +010088};