.. | .. |
---|
71 | 71 | |
---|
72 | 72 | reg_vmmc1: vmmc1 { |
---|
73 | 73 | compatible = "regulator-fixed"; |
---|
74 | | - pinctrl-names = "default"; |
---|
75 | | - pinctrl-0 = <&mmc1_vcc_en_pin_t004>; |
---|
76 | 74 | regulator-name = "vmmc1"; |
---|
77 | 75 | regulator-min-microvolt = <3300000>; |
---|
78 | 76 | regulator-max-microvolt = <3300000>; |
---|
.. | .. |
---|
86 | 84 | }; |
---|
87 | 85 | |
---|
88 | 86 | &i2c0 { |
---|
89 | | - pinctrl-names = "default"; |
---|
90 | | - pinctrl-0 = <&i2c0_pins_a>; |
---|
91 | 87 | status = "okay"; |
---|
92 | 88 | |
---|
93 | 89 | axp152: pmic@30 { |
---|
.. | .. |
---|
100 | 96 | }; |
---|
101 | 97 | |
---|
102 | 98 | &mmc0 { |
---|
103 | | - pinctrl-names = "default"; |
---|
104 | | - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_t004>; |
---|
105 | 99 | vmmc-supply = <®_vcc3v3>; |
---|
106 | 100 | bus-width = <4>; |
---|
107 | 101 | cd-gpios = <&pio 6 1 GPIO_ACTIVE_LOW>; /* PG1 */ |
---|
.. | .. |
---|
109 | 103 | }; |
---|
110 | 104 | |
---|
111 | 105 | &mmc1 { |
---|
112 | | - pinctrl-names = "default"; |
---|
113 | | - pinctrl-0 = <&mmc1_pins_a>; |
---|
114 | 106 | vmmc-supply = <®_vmmc1>; |
---|
115 | 107 | bus-width = <4>; |
---|
116 | 108 | non-removable; |
---|
.. | .. |
---|
127 | 119 | }; |
---|
128 | 120 | |
---|
129 | 121 | &pio { |
---|
130 | | - usb0_id_detect_pin: usb0_id_detect_pin@0 { |
---|
131 | | - pins = "PG12"; |
---|
132 | | - function = "gpio_in"; |
---|
133 | | - bias-pull-up; |
---|
134 | | - }; |
---|
135 | | - |
---|
136 | | - mmc0_cd_pin_t004: mmc0_cd_pin@0 { |
---|
137 | | - pins = "PG1"; |
---|
138 | | - function = "gpio_in"; |
---|
139 | | - bias-pull-up; |
---|
140 | | - }; |
---|
141 | | - |
---|
142 | | - mmc1_vcc_en_pin_t004: mmc1_vcc_en_pin@0 { |
---|
143 | | - pins = "PB18"; |
---|
144 | | - function = "gpio_out"; |
---|
145 | | - }; |
---|
146 | | - |
---|
147 | | - led_pins_t004: led_pins@0 { |
---|
| 122 | + led_pins_t004: led-pin { |
---|
148 | 123 | pins = "PB2"; |
---|
149 | 124 | function = "gpio_out"; |
---|
150 | 125 | drive-strength = <20>; |
---|
.. | .. |
---|
158 | 133 | |
---|
159 | 134 | &uart0 { |
---|
160 | 135 | pinctrl-names = "default"; |
---|
161 | | - pinctrl-0 = <&uart0_pins_a>; |
---|
| 136 | + pinctrl-0 = <&uart0_pb_pins>; |
---|
162 | 137 | status = "okay"; |
---|
163 | 138 | }; |
---|
164 | 139 | |
---|
.. | .. |
---|
168 | 143 | }; |
---|
169 | 144 | |
---|
170 | 145 | &usbphy { |
---|
171 | | - pinctrl-names = "default"; |
---|
172 | | - pinctrl-0 = <&usb0_id_detect_pin>; |
---|
173 | | - usb0_id_det-gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */ |
---|
| 146 | + usb0_id_det-gpios = <&pio 6 12 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PG12 */ |
---|
174 | 147 | usb1_vbus-supply = <®_usb1_vbus>; |
---|
175 | 148 | status = "okay"; |
---|
176 | 149 | }; |
---|