| .. | .. |
|---|
| 60 | 60 | |
|---|
| 61 | 61 | leds { |
|---|
| 62 | 62 | compatible = "gpio-leds"; |
|---|
| 63 | | - pinctrl-names = "default"; |
|---|
| 64 | | - pinctrl-0 = <&led_pins_m9>; |
|---|
| 65 | 63 | |
|---|
| 66 | 64 | blue { |
|---|
| 67 | 65 | label = "m9:blue:pwr"; |
|---|
| .. | .. |
|---|
| 85 | 83 | |
|---|
| 86 | 84 | &gmac { |
|---|
| 87 | 85 | pinctrl-names = "default"; |
|---|
| 88 | | - pinctrl-0 = <&gmac_pins_mii_a>; |
|---|
| 89 | | - phy = <&phy1>; |
|---|
| 86 | + pinctrl-0 = <&gmac_mii_pins>; |
|---|
| 87 | + phy-handle = <&phy1>; |
|---|
| 90 | 88 | phy-mode = "mii"; |
|---|
| 91 | 89 | phy-supply = <®_dldo1>; |
|---|
| 92 | 90 | status = "okay"; |
|---|
| 91 | +}; |
|---|
| 93 | 92 | |
|---|
| 93 | +&ir { |
|---|
| 94 | + pinctrl-names = "default"; |
|---|
| 95 | + pinctrl-0 = <&s_ir_rx_pin>; |
|---|
| 96 | + status = "okay"; |
|---|
| 97 | +}; |
|---|
| 98 | + |
|---|
| 99 | +&mdio { |
|---|
| 94 | 100 | phy1: ethernet-phy@1 { |
|---|
| 95 | 101 | reg = <1>; |
|---|
| 96 | 102 | }; |
|---|
| 97 | 103 | }; |
|---|
| 98 | 104 | |
|---|
| 99 | | -&ir { |
|---|
| 100 | | - pinctrl-names = "default"; |
|---|
| 101 | | - pinctrl-0 = <&ir_pins_a>; |
|---|
| 102 | | - status = "okay"; |
|---|
| 103 | | -}; |
|---|
| 104 | | - |
|---|
| 105 | 105 | &mmc0 { |
|---|
| 106 | | - pinctrl-names = "default"; |
|---|
| 107 | | - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_m9>; |
|---|
| 108 | 106 | vmmc-supply = <®_dcdc1>; |
|---|
| 109 | 107 | bus-width = <4>; |
|---|
| 110 | 108 | cd-gpios = <&pio 7 22 GPIO_ACTIVE_LOW>; /* PH22 */ |
|---|
| .. | .. |
|---|
| 123 | 121 | }; |
|---|
| 124 | 122 | |
|---|
| 125 | 123 | #include "axp22x.dtsi" |
|---|
| 126 | | - |
|---|
| 127 | | -&pio { |
|---|
| 128 | | - led_pins_m9: led_pins@0 { |
|---|
| 129 | | - pins = "PH13"; |
|---|
| 130 | | - function = "gpio_out"; |
|---|
| 131 | | - }; |
|---|
| 132 | | - |
|---|
| 133 | | - mmc0_cd_pin_m9: mmc0_cd_pin@0 { |
|---|
| 134 | | - pins = "PH22"; |
|---|
| 135 | | - function = "gpio_in"; |
|---|
| 136 | | - bias-pull-up; |
|---|
| 137 | | - }; |
|---|
| 138 | | - |
|---|
| 139 | | - usb1_vbus_pin_m9: usb1_vbus_pin@0 { |
|---|
| 140 | | - pins = "PC27"; |
|---|
| 141 | | - function = "gpio_out"; |
|---|
| 142 | | - }; |
|---|
| 143 | | -}; |
|---|
| 144 | 124 | |
|---|
| 145 | 125 | ®_aldo1 { |
|---|
| 146 | 126 | regulator-min-microvolt = <3300000>; |
|---|
| .. | .. |
|---|
| 215 | 195 | }; |
|---|
| 216 | 196 | |
|---|
| 217 | 197 | ®_usb1_vbus { |
|---|
| 218 | | - pinctrl-names = "default"; |
|---|
| 219 | | - pinctrl-0 = <&usb1_vbus_pin_m9>; |
|---|
| 220 | 198 | gpio = <&pio 2 27 GPIO_ACTIVE_HIGH>; |
|---|
| 221 | 199 | status = "okay"; |
|---|
| 222 | 200 | }; |
|---|
| 223 | 201 | |
|---|
| 224 | 202 | &uart0 { |
|---|
| 225 | 203 | pinctrl-names = "default"; |
|---|
| 226 | | - pinctrl-0 = <&uart0_pins_a>; |
|---|
| 204 | + pinctrl-0 = <&uart0_ph_pins>; |
|---|
| 227 | 205 | status = "okay"; |
|---|
| 228 | 206 | }; |
|---|
| 229 | 207 | |
|---|