| .. | .. |
|---|
| 74 | 74 | |
|---|
| 75 | 75 | leds { |
|---|
| 76 | 76 | compatible = "gpio-leds"; |
|---|
| 77 | | - pinctrl-names = "default"; |
|---|
| 78 | | - pinctrl-0 = <&led_pins_cubieboard2>; |
|---|
| 79 | 77 | |
|---|
| 80 | 78 | blue { |
|---|
| 81 | 79 | label = "cubieboard2:blue:usr"; |
|---|
| .. | .. |
|---|
| 116 | 114 | |
|---|
| 117 | 115 | &gmac { |
|---|
| 118 | 116 | pinctrl-names = "default"; |
|---|
| 119 | | - pinctrl-0 = <&gmac_pins_mii_a>; |
|---|
| 120 | | - phy = <&phy1>; |
|---|
| 117 | + pinctrl-0 = <&gmac_mii_pins>; |
|---|
| 118 | + phy-handle = <&phy1>; |
|---|
| 121 | 119 | phy-mode = "mii"; |
|---|
| 122 | 120 | status = "okay"; |
|---|
| 123 | | - |
|---|
| 124 | | - phy1: ethernet-phy@1 { |
|---|
| 125 | | - reg = <1>; |
|---|
| 126 | | - }; |
|---|
| 127 | 121 | }; |
|---|
| 128 | 122 | |
|---|
| 129 | 123 | &hdmi { |
|---|
| .. | .. |
|---|
| 137 | 131 | }; |
|---|
| 138 | 132 | |
|---|
| 139 | 133 | &i2c0 { |
|---|
| 140 | | - pinctrl-names = "default"; |
|---|
| 141 | | - pinctrl-0 = <&i2c0_pins_a>; |
|---|
| 142 | 134 | status = "okay"; |
|---|
| 143 | 135 | |
|---|
| 144 | 136 | axp209: pmic@34 { |
|---|
| .. | .. |
|---|
| 149 | 141 | }; |
|---|
| 150 | 142 | |
|---|
| 151 | 143 | &i2c1 { |
|---|
| 152 | | - pinctrl-names = "default"; |
|---|
| 153 | | - pinctrl-0 = <&i2c1_pins_a>; |
|---|
| 154 | 144 | status = "okay"; |
|---|
| 155 | 145 | }; |
|---|
| 156 | 146 | |
|---|
| 157 | 147 | &ir0 { |
|---|
| 158 | 148 | pinctrl-names = "default"; |
|---|
| 159 | | - pinctrl-0 = <&ir0_rx_pins_a>; |
|---|
| 149 | + pinctrl-0 = <&ir0_rx_pin>; |
|---|
| 160 | 150 | status = "okay"; |
|---|
| 161 | 151 | }; |
|---|
| 162 | 152 | |
|---|
| 163 | 153 | &mmc0 { |
|---|
| 164 | | - pinctrl-names = "default"; |
|---|
| 165 | | - pinctrl-0 = <&mmc0_pins_a>; |
|---|
| 166 | 154 | vmmc-supply = <®_vcc3v3>; |
|---|
| 167 | 155 | bus-width = <4>; |
|---|
| 168 | 156 | cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ |
|---|
| 169 | 157 | status = "okay"; |
|---|
| 158 | +}; |
|---|
| 159 | + |
|---|
| 160 | +&gmac_mdio { |
|---|
| 161 | + phy1: ethernet-phy@1 { |
|---|
| 162 | + reg = <1>; |
|---|
| 163 | + }; |
|---|
| 170 | 164 | }; |
|---|
| 171 | 165 | |
|---|
| 172 | 166 | &ohci0 { |
|---|
| .. | .. |
|---|
| 179 | 173 | |
|---|
| 180 | 174 | &otg_sram { |
|---|
| 181 | 175 | status = "okay"; |
|---|
| 182 | | -}; |
|---|
| 183 | | - |
|---|
| 184 | | -&pio { |
|---|
| 185 | | - led_pins_cubieboard2: led_pins@0 { |
|---|
| 186 | | - pins = "PH20", "PH21"; |
|---|
| 187 | | - function = "gpio_out"; |
|---|
| 188 | | - }; |
|---|
| 189 | | - |
|---|
| 190 | | - usb0_id_detect_pin: usb0_id_detect_pin@0 { |
|---|
| 191 | | - pins = "PH4"; |
|---|
| 192 | | - function = "gpio_in"; |
|---|
| 193 | | - bias-pull-up; |
|---|
| 194 | | - }; |
|---|
| 195 | 176 | }; |
|---|
| 196 | 177 | |
|---|
| 197 | 178 | ®_ahci_5v { |
|---|
| .. | .. |
|---|
| 239 | 220 | |
|---|
| 240 | 221 | &uart0 { |
|---|
| 241 | 222 | pinctrl-names = "default"; |
|---|
| 242 | | - pinctrl-0 = <&uart0_pins_a>; |
|---|
| 223 | + pinctrl-0 = <&uart0_pb_pins>; |
|---|
| 243 | 224 | status = "okay"; |
|---|
| 244 | 225 | }; |
|---|
| 245 | 226 | |
|---|
| .. | .. |
|---|
| 249 | 230 | }; |
|---|
| 250 | 231 | |
|---|
| 251 | 232 | &usbphy { |
|---|
| 252 | | - pinctrl-names = "default"; |
|---|
| 253 | | - pinctrl-0 = <&usb0_id_detect_pin>; |
|---|
| 254 | | - usb0_id_det-gpio = <&pio 7 4 GPIO_ACTIVE_HIGH>; /* PH4 */ |
|---|
| 233 | + usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */ |
|---|
| 255 | 234 | usb1_vbus-supply = <®_usb1_vbus>; |
|---|
| 256 | 235 | usb2_vbus-supply = <®_usb2_vbus>; |
|---|
| 257 | 236 | status = "okay"; |
|---|