Loading...
1// SPDX-License-Identifier: GPL-2.0
2/ {
3 mbus@f1000000 {
4 pciec: pcie@82000000 {
5 compatible = "marvell,kirkwood-pcie";
6 status = "disabled";
7 device_type = "pci";
8
9 #address-cells = <3>;
10 #size-cells = <2>;
11
12 bus-range = <0x00 0xff>;
13
14 ranges =
15 <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
16 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
17 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>;
18
19 pcie0: pcie@1,0 {
20 device_type = "pci";
21 assigned-addresses = <0x82000800 0 0x00040000 0 0x2000>;
22 reg = <0x0800 0 0 0 0>;
23 #address-cells = <3>;
24 #size-cells = <2>;
25 #interrupt-cells = <1>;
26 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
27 0x81000000 0 0 0x81000000 0x1 0 1 0>;
28 bus-range = <0x00 0xff>;
29 interrupt-map-mask = <0 0 0 0>;
30 interrupt-map = <0 0 0 0 &intc 9>;
31 marvell,pcie-port = <0>;
32 marvell,pcie-lane = <0>;
33 clocks = <&gate_clk 2>;
34 status = "disabled";
35 };
36 };
37 };
38
39 ocp@f1000000 {
40 pinctrl: pin-controller@10000 {
41 compatible = "marvell,88f6192-pinctrl";
42
43 pmx_sata0: pmx-sata0 {
44 marvell,pins = "mpp5", "mpp21", "mpp23";
45 marvell,function = "sata0";
46 };
47 pmx_sata1: pmx-sata1 {
48 marvell,pins = "mpp4", "mpp20", "mpp22";
49 marvell,function = "sata1";
50 };
51 pmx_sdio: pmx-sdio {
52 marvell,pins = "mpp12", "mpp13", "mpp14",
53 "mpp15", "mpp16", "mpp17";
54 marvell,function = "sdio";
55 };
56 };
57
58 rtc: rtc@10300 {
59 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
60 reg = <0x10300 0x20>;
61 interrupts = <53>;
62 clocks = <&gate_clk 7>;
63 };
64
65 sata: sata@80000 {
66 compatible = "marvell,orion-sata";
67 reg = <0x80000 0x5000>;
68 interrupts = <21>;
69 clocks = <&gate_clk 14>, <&gate_clk 15>;
70 clock-names = "0", "1";
71 phys = <&sata_phy0>, <&sata_phy1>;
72 phy-names = "port0", "port1";
73 status = "disabled";
74 };
75
76 sdio: mvsdio@90000 {
77 compatible = "marvell,orion-sdio";
78 reg = <0x90000 0x200>;
79 interrupts = <28>;
80 clocks = <&gate_clk 4>;
81 bus-width = <4>;
82 cap-sdio-irq;
83 cap-sd-highspeed;
84 cap-mmc-highspeed;
85 status = "disabled";
86 };
87 };
88};
1/ {
2 mbus@f1000000 {
3 pciec: pcie-controller@82000000 {
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 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
18 pcie0: pcie@1,0 {
19 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
37 ocp@f1000000 {
38 pinctrl: pin-controller@10000 {
39 compatible = "marvell,88f6192-pinctrl";
40
41 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 };
49 pmx_sdio: pmx-sdio {
50 marvell,pins = "mpp12", "mpp13", "mpp14",
51 "mpp15", "mpp16", "mpp17";
52 marvell,function = "sdio";
53 };
54 };
55
56 rtc: rtc@10300 {
57 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
58 reg = <0x10300 0x20>;
59 interrupts = <53>;
60 clocks = <&gate_clk 7>;
61 };
62
63 sata: sata@80000 {
64 compatible = "marvell,orion-sata";
65 reg = <0x80000 0x5000>;
66 interrupts = <21>;
67 clocks = <&gate_clk 14>, <&gate_clk 15>;
68 clock-names = "0", "1";
69 phys = <&sata_phy0>, <&sata_phy1>;
70 phy-names = "port0", "port1";
71 status = "disabled";
72 };
73
74 sdio: mvsdio@90000 {
75 compatible = "marvell,orion-sdio";
76 reg = <0x90000 0x200>;
77 interrupts = <28>;
78 clocks = <&gate_clk 4>;
79 bus-width = <4>;
80 cap-sdio-irq;
81 cap-sd-highspeed;
82 cap-mmc-highspeed;
83 status = "disabled";
84 };
85 };
86};