.. | .. |
---|
78 | 78 | status = "disabled"; |
---|
79 | 79 | }; |
---|
80 | 80 | |
---|
| 81 | + i2c: i2c@100400 { |
---|
| 82 | + compatible = "mscc,ocelot-i2c", "snps,designware-i2c"; |
---|
| 83 | + pinctrl-0 = <&i2c_pins>; |
---|
| 84 | + pinctrl-names = "default"; |
---|
| 85 | + reg = <0x100400 0x100>, <0x198 0x8>; |
---|
| 86 | + #address-cells = <1>; |
---|
| 87 | + #size-cells = <0>; |
---|
| 88 | + interrupts = <8>; |
---|
| 89 | + clocks = <&ahb_clk>; |
---|
| 90 | + |
---|
| 91 | + status = "disabled"; |
---|
| 92 | + }; |
---|
| 93 | + |
---|
81 | 94 | uart2: serial@100800 { |
---|
82 | 95 | pinctrl-0 = <&uart2_pins>; |
---|
83 | 96 | pinctrl-names = "default"; |
---|
.. | .. |
---|
107 | 120 | reg = <0x1010000 0x10000>, |
---|
108 | 121 | <0x1030000 0x10000>, |
---|
109 | 122 | <0x1080000 0x100>, |
---|
110 | | - <0x10d0000 0x10000>, |
---|
| 123 | + <0x10e0000 0x10000>, |
---|
111 | 124 | <0x11e0000 0x100>, |
---|
112 | 125 | <0x11f0000 0x100>, |
---|
113 | 126 | <0x1200000 0x100>, |
---|
.. | .. |
---|
120 | 133 | <0x1270000 0x100>, |
---|
121 | 134 | <0x1280000 0x100>, |
---|
122 | 135 | <0x1800000 0x80000>, |
---|
123 | | - <0x1880000 0x10000>; |
---|
124 | | - reg-names = "sys", "rew", "qs", "hsio", "port0", |
---|
125 | | - "port1", "port2", "port3", "port4", "port5", |
---|
126 | | - "port6", "port7", "port8", "port9", "port10", |
---|
127 | | - "qsys", "ana"; |
---|
128 | | - interrupts = <21 22>; |
---|
129 | | - interrupt-names = "xtr", "inj"; |
---|
| 136 | + <0x1880000 0x10000>, |
---|
| 137 | + <0x1040000 0x10000>, |
---|
| 138 | + <0x1050000 0x10000>, |
---|
| 139 | + <0x1060000 0x10000>; |
---|
| 140 | + reg-names = "sys", "rew", "qs", "ptp", "port0", "port1", |
---|
| 141 | + "port2", "port3", "port4", "port5", "port6", |
---|
| 142 | + "port7", "port8", "port9", "port10", "qsys", |
---|
| 143 | + "ana", "s0", "s1", "s2"; |
---|
| 144 | + interrupts = <18 21 22>; |
---|
| 145 | + interrupt-names = "ptp_rdy", "xtr", "inj"; |
---|
130 | 146 | |
---|
131 | 147 | ethernet-ports { |
---|
132 | 148 | #address-cells = <1>; |
---|
.. | .. |
---|
183 | 199 | interrupts = <13>; |
---|
184 | 200 | #interrupt-cells = <2>; |
---|
185 | 201 | |
---|
| 202 | + i2c_pins: i2c-pins { |
---|
| 203 | + pins = "GPIO_16", "GPIO_17"; |
---|
| 204 | + function = "twi"; |
---|
| 205 | + }; |
---|
| 206 | + |
---|
186 | 207 | uart_pins: uart-pins { |
---|
187 | 208 | pins = "GPIO_6", "GPIO_7"; |
---|
188 | 209 | function = "uart"; |
---|
.. | .. |
---|
195 | 216 | |
---|
196 | 217 | miim1: miim1 { |
---|
197 | 218 | pins = "GPIO_14", "GPIO_15"; |
---|
198 | | - function = "miim1"; |
---|
| 219 | + function = "miim"; |
---|
199 | 220 | }; |
---|
| 221 | + |
---|
200 | 222 | }; |
---|
201 | 223 | |
---|
202 | 224 | mdio0: mdio@107009c { |
---|
.. | .. |
---|
231 | 253 | pinctrl-0 = <&miim1>; |
---|
232 | 254 | status = "disabled"; |
---|
233 | 255 | }; |
---|
| 256 | + |
---|
| 257 | + hsio: syscon@10d0000 { |
---|
| 258 | + compatible = "mscc,ocelot-hsio", "syscon", "simple-mfd"; |
---|
| 259 | + reg = <0x10d0000 0x10000>; |
---|
| 260 | + |
---|
| 261 | + serdes: serdes { |
---|
| 262 | + compatible = "mscc,vsc7514-serdes"; |
---|
| 263 | + #phy-cells = <2>; |
---|
| 264 | + }; |
---|
| 265 | + }; |
---|
234 | 266 | }; |
---|
235 | 267 | }; |
---|