|
29 | 29 | #gpio-cells = <2>; |
30 | 30 | }; |
31 | 31 |
|
32 | | - ahci@b1000000 { |
| 32 | + miphy0: miphy@eb800000 { |
| 33 | + compatible = "st,spear1310-miphy"; |
| 34 | + reg = <0xeb800000 0x4000>; |
| 35 | + misc = <&misc>; |
| 36 | + phy-id = <0>; |
| 37 | + #phy-cells = <1>; |
| 38 | + status = "disabled"; |
| 39 | + }; |
| 40 | + |
| 41 | + miphy1: miphy@eb804000 { |
| 42 | + compatible = "st,spear1310-miphy"; |
| 43 | + reg = <0xeb804000 0x4000>; |
| 44 | + misc = <&misc>; |
| 45 | + phy-id = <1>; |
| 46 | + #phy-cells = <1>; |
| 47 | + status = "disabled"; |
| 48 | + }; |
| 49 | + |
| 50 | + miphy2: miphy@eb808000 { |
| 51 | + compatible = "st,spear1310-miphy"; |
| 52 | + reg = <0xeb808000 0x4000>; |
| 53 | + misc = <&misc>; |
| 54 | + phy-id = <2>; |
| 55 | + #phy-cells = <1>; |
| 56 | + status = "disabled"; |
| 57 | + }; |
| 58 | + |
| 59 | + ahci0: ahci@b1000000 { |
33 | 60 | compatible = "snps,spear-ahci"; |
34 | 61 | reg = <0xb1000000 0x10000>; |
35 | 62 | interrupts = <0 68 0x4>; |
| 63 | + phys = <&miphy0 0>; |
| 64 | + phy-names = "sata-phy"; |
36 | 65 | status = "disabled"; |
37 | 66 | }; |
38 | 67 |
|
39 | | - ahci@b1800000 { |
| 68 | + ahci1: ahci@b1800000 { |
40 | 69 | compatible = "snps,spear-ahci"; |
41 | 70 | reg = <0xb1800000 0x10000>; |
42 | 71 | interrupts = <0 69 0x4>; |
| 72 | + phys = <&miphy1 0>; |
| 73 | + phy-names = "sata-phy"; |
43 | 74 | status = "disabled"; |
44 | 75 | }; |
45 | 76 |
|
46 | | - ahci@b4000000 { |
| 77 | + ahci2: ahci@b4000000 { |
47 | 78 | compatible = "snps,spear-ahci"; |
48 | 79 | reg = <0xb4000000 0x10000>; |
49 | 80 | interrupts = <0 70 0x4>; |
| 81 | + phys = <&miphy2 0>; |
| 82 | + phy-names = "sata-phy"; |
| 83 | + status = "disabled"; |
| 84 | + }; |
| 85 | + |
| 86 | + pcie0: pcie@b1000000 { |
| 87 | + compatible = "st,spear1340-pcie", "snps,dw-pcie"; |
| 88 | + reg = <0xb1000000 0x4000>; |
| 89 | + interrupts = <0 68 0x4>; |
| 90 | + interrupt-map-mask = <0 0 0 0>; |
| 91 | + interrupt-map = <0x0 0 &gic 0 68 0x4>; |
| 92 | + num-lanes = <1>; |
| 93 | + phys = <&miphy0 1>; |
| 94 | + phy-names = "pcie-phy"; |
| 95 | + #address-cells = <3>; |
| 96 | + #size-cells = <2>; |
| 97 | + device_type = "pci"; |
| 98 | + ranges = <0x00000800 0 0x80000000 0x80000000 0 0x00020000 /* configuration space */ |
| 99 | + 0x81000000 0 0 0x80020000 0 0x00010000 /* downstream I/O */ |
| 100 | + 0x82000000 0 0x80030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */ |
| 101 | + status = "disabled"; |
| 102 | + }; |
| 103 | + |
| 104 | + pcie1: pcie@b1800000 { |
| 105 | + compatible = "st,spear1340-pcie", "snps,dw-pcie"; |
| 106 | + reg = <0xb1800000 0x4000>; |
| 107 | + interrupts = <0 69 0x4>; |
| 108 | + interrupt-map-mask = <0 0 0 0>; |
| 109 | + interrupt-map = <0x0 0 &gic 0 69 0x4>; |
| 110 | + num-lanes = <1>; |
| 111 | + phys = <&miphy1 1>; |
| 112 | + phy-names = "pcie-phy"; |
| 113 | + #address-cells = <3>; |
| 114 | + #size-cells = <2>; |
| 115 | + device_type = "pci"; |
| 116 | + ranges = <0x00000800 0 0x90000000 0x90000000 0 0x00020000 /* configuration space */ |
| 117 | + 0x81000000 0 0 0x90020000 0 0x00010000 /* downstream I/O */ |
| 118 | + 0x82000000 0 0x90030000 0x90030000 0 0x0ffd0000>; /* non-prefetchable memory */ |
| 119 | + status = "disabled"; |
| 120 | + }; |
| 121 | + |
| 122 | + pcie2: pcie@b4000000 { |
| 123 | + compatible = "st,spear1340-pcie", "snps,dw-pcie"; |
| 124 | + reg = <0xb4000000 0x4000>; |
| 125 | + interrupts = <0 70 0x4>; |
| 126 | + interrupt-map-mask = <0 0 0 0>; |
| 127 | + interrupt-map = <0x0 0 &gic 0 70 0x4>; |
| 128 | + num-lanes = <1>; |
| 129 | + phys = <&miphy2 1>; |
| 130 | + phy-names = "pcie-phy"; |
| 131 | + #address-cells = <3>; |
| 132 | + #size-cells = <2>; |
| 133 | + device_type = "pci"; |
| 134 | + ranges = <0x00000800 0 0xc0000000 0xc0000000 0 0x00020000 /* configuration space */ |
| 135 | + 0x81000000 0 0 0xc0020000 0 0x00010000 /* downstream I/O */ |
| 136 | + 0x82000000 0 0xc0030000 0xc0030000 0 0x0ffd0000>; /* non-prefetchable memory */ |
50 | 137 | status = "disabled"; |
51 | 138 | }; |
52 | 139 |
|
|
0 commit comments