|
13 | 13 | priority = <200>;
|
14 | 14 | };
|
15 | 15 |
|
| 16 | + i2c0_imux: i2c-mux { |
| 17 | + compatible = "i2c-mux-pinctrl"; |
| 18 | + #address-cells = <1>; |
| 19 | + #size-cells = <0>; |
| 20 | + i2c-parent = <&i2c0>; |
| 21 | + }; |
| 22 | + |
16 | 23 | leds {
|
17 | 24 | compatible = "gpio-leds";
|
18 | 25 | led-0 {
|
|
56 | 63 | default-state = "off";
|
57 | 64 | };
|
58 | 65 | };
|
| 66 | + |
| 67 | + sfp_eth60: sfp-eth60 { |
| 68 | + compatible = "sff,sfp"; |
| 69 | + i2c-bus = <&i2c_sfp1>; |
| 70 | + tx-disable-gpios = <&sgpio_out2 28 0 GPIO_ACTIVE_LOW>; |
| 71 | + rate-select0-gpios = <&sgpio_out2 28 1 GPIO_ACTIVE_HIGH>; |
| 72 | + los-gpios = <&sgpio_in2 28 0 GPIO_ACTIVE_HIGH>; |
| 73 | + mod-def0-gpios = <&sgpio_in2 28 1 GPIO_ACTIVE_LOW>; |
| 74 | + tx-fault-gpios = <&sgpio_in2 28 2 GPIO_ACTIVE_HIGH>; |
| 75 | + }; |
| 76 | + |
| 77 | + sfp_eth61: sfp-eth61 { |
| 78 | + compatible = "sff,sfp"; |
| 79 | + i2c-bus = <&i2c_sfp2>; |
| 80 | + tx-disable-gpios = <&sgpio_out2 29 0 GPIO_ACTIVE_LOW>; |
| 81 | + rate-select0-gpios = <&sgpio_out2 29 1 GPIO_ACTIVE_HIGH>; |
| 82 | + los-gpios = <&sgpio_in2 29 0 GPIO_ACTIVE_HIGH>; |
| 83 | + mod-def0-gpios = <&sgpio_in2 29 1 GPIO_ACTIVE_LOW>; |
| 84 | + tx-fault-gpios = <&sgpio_in2 29 2 GPIO_ACTIVE_HIGH>; |
| 85 | + }; |
| 86 | + |
| 87 | + sfp_eth62: sfp-eth62 { |
| 88 | + compatible = "sff,sfp"; |
| 89 | + i2c-bus = <&i2c_sfp3>; |
| 90 | + tx-disable-gpios = <&sgpio_out2 30 0 GPIO_ACTIVE_LOW>; |
| 91 | + rate-select0-gpios = <&sgpio_out2 30 1 GPIO_ACTIVE_HIGH>; |
| 92 | + los-gpios = <&sgpio_in2 30 0 GPIO_ACTIVE_HIGH>; |
| 93 | + mod-def0-gpios = <&sgpio_in2 30 1 GPIO_ACTIVE_LOW>; |
| 94 | + tx-fault-gpios = <&sgpio_in2 30 2 GPIO_ACTIVE_HIGH>; |
| 95 | + }; |
| 96 | + |
| 97 | + sfp_eth63: sfp-eth63 { |
| 98 | + compatible = "sff,sfp"; |
| 99 | + i2c-bus = <&i2c_sfp4>; |
| 100 | + tx-disable-gpios = <&sgpio_out2 31 0 GPIO_ACTIVE_LOW>; |
| 101 | + rate-select0-gpios = <&sgpio_out2 31 1 GPIO_ACTIVE_HIGH>; |
| 102 | + los-gpios = <&sgpio_in2 31 0 GPIO_ACTIVE_HIGH>; |
| 103 | + mod-def0-gpios = <&sgpio_in2 31 1 GPIO_ACTIVE_LOW>; |
| 104 | + tx-fault-gpios = <&sgpio_in2 31 2 GPIO_ACTIVE_HIGH>; |
| 105 | + }; |
59 | 106 | };
|
60 | 107 |
|
61 | 108 | &gpio {
|
|
119 | 166 | microchip,sgpio-port-ranges = <0 0>, <16 18>, <28 31>;
|
120 | 167 | };
|
121 | 168 |
|
122 |
| -&axi { |
123 |
| - i2c0_imux: i2c-mux { |
124 |
| - compatible = "i2c-mux-pinctrl"; |
125 |
| - #address-cells = <1>; |
126 |
| - #size-cells = <0>; |
127 |
| - i2c-parent = <&i2c0>; |
128 |
| - }; |
129 |
| -}; |
130 |
| - |
131 | 169 | &i2c0_imux {
|
132 | 170 | pinctrl-names =
|
133 | 171 | "i2c_sfp1", "i2c_sfp2", "i2c_sfp3", "i2c_sfp4",
|
|
159 | 197 | };
|
160 | 198 | };
|
161 | 199 |
|
162 |
| -&axi { |
163 |
| - sfp_eth60: sfp-eth60 { |
164 |
| - compatible = "sff,sfp"; |
165 |
| - i2c-bus = <&i2c_sfp1>; |
166 |
| - tx-disable-gpios = <&sgpio_out2 28 0 GPIO_ACTIVE_LOW>; |
167 |
| - rate-select0-gpios = <&sgpio_out2 28 1 GPIO_ACTIVE_HIGH>; |
168 |
| - los-gpios = <&sgpio_in2 28 0 GPIO_ACTIVE_HIGH>; |
169 |
| - mod-def0-gpios = <&sgpio_in2 28 1 GPIO_ACTIVE_LOW>; |
170 |
| - tx-fault-gpios = <&sgpio_in2 28 2 GPIO_ACTIVE_HIGH>; |
171 |
| - }; |
172 |
| - sfp_eth61: sfp-eth61 { |
173 |
| - compatible = "sff,sfp"; |
174 |
| - i2c-bus = <&i2c_sfp2>; |
175 |
| - tx-disable-gpios = <&sgpio_out2 29 0 GPIO_ACTIVE_LOW>; |
176 |
| - rate-select0-gpios = <&sgpio_out2 29 1 GPIO_ACTIVE_HIGH>; |
177 |
| - los-gpios = <&sgpio_in2 29 0 GPIO_ACTIVE_HIGH>; |
178 |
| - mod-def0-gpios = <&sgpio_in2 29 1 GPIO_ACTIVE_LOW>; |
179 |
| - tx-fault-gpios = <&sgpio_in2 29 2 GPIO_ACTIVE_HIGH>; |
180 |
| - }; |
181 |
| - sfp_eth62: sfp-eth62 { |
182 |
| - compatible = "sff,sfp"; |
183 |
| - i2c-bus = <&i2c_sfp3>; |
184 |
| - tx-disable-gpios = <&sgpio_out2 30 0 GPIO_ACTIVE_LOW>; |
185 |
| - rate-select0-gpios = <&sgpio_out2 30 1 GPIO_ACTIVE_HIGH>; |
186 |
| - los-gpios = <&sgpio_in2 30 0 GPIO_ACTIVE_HIGH>; |
187 |
| - mod-def0-gpios = <&sgpio_in2 30 1 GPIO_ACTIVE_LOW>; |
188 |
| - tx-fault-gpios = <&sgpio_in2 30 2 GPIO_ACTIVE_HIGH>; |
189 |
| - }; |
190 |
| - sfp_eth63: sfp-eth63 { |
191 |
| - compatible = "sff,sfp"; |
192 |
| - i2c-bus = <&i2c_sfp4>; |
193 |
| - tx-disable-gpios = <&sgpio_out2 31 0 GPIO_ACTIVE_LOW>; |
194 |
| - rate-select0-gpios = <&sgpio_out2 31 1 GPIO_ACTIVE_HIGH>; |
195 |
| - los-gpios = <&sgpio_in2 31 0 GPIO_ACTIVE_HIGH>; |
196 |
| - mod-def0-gpios = <&sgpio_in2 31 1 GPIO_ACTIVE_LOW>; |
197 |
| - tx-fault-gpios = <&sgpio_in2 31 2 GPIO_ACTIVE_HIGH>; |
198 |
| - }; |
199 |
| -}; |
200 |
| - |
201 | 200 | &mdio0 {
|
202 | 201 | status = "okay";
|
203 | 202 | phy0: ethernet-phy@0 {
|
|
0 commit comments