.. | .. |
---|
90 | 90 | |
---|
91 | 91 | &i2c0 { |
---|
92 | 92 | /* pull-ups and device VDDIO use AXP221 DLDO3 */ |
---|
93 | | - pinctrl-names = "default"; |
---|
94 | | - pinctrl-0 = <&i2c0_pins_a>; |
---|
95 | 93 | status = "failed"; |
---|
96 | 94 | }; |
---|
97 | 95 | |
---|
98 | 96 | &i2c1 { |
---|
99 | | - pinctrl-names = "default"; |
---|
100 | | - pinctrl-0 = <&i2c1_pins_a>; |
---|
101 | 97 | status = "okay"; |
---|
102 | 98 | |
---|
103 | 99 | ctp@5d { |
---|
104 | | - pinctrl-names = "default"; |
---|
105 | | - pinctrl-0 = <>911_int_primo81>; |
---|
106 | 100 | compatible = "goodix,gt911"; |
---|
107 | 101 | reg = <0x5d>; |
---|
108 | 102 | interrupt-parent = <&pio>; |
---|
.. | .. |
---|
112 | 106 | }; |
---|
113 | 107 | |
---|
114 | 108 | &i2c2 { |
---|
115 | | - pinctrl-names = "default"; |
---|
116 | | - pinctrl-0 = <&i2c2_pins_a>; |
---|
117 | 109 | status = "okay"; |
---|
118 | 110 | |
---|
119 | 111 | accelerometer@1c { |
---|
.. | .. |
---|
131 | 123 | vref-supply = <®_aldo3>; |
---|
132 | 124 | status = "okay"; |
---|
133 | 125 | |
---|
134 | | - button@158 { |
---|
| 126 | + button-158 { |
---|
135 | 127 | label = "Volume Up"; |
---|
136 | 128 | linux,code = <KEY_VOLUMEUP>; |
---|
137 | 129 | channel = <0>; |
---|
138 | 130 | voltage = <158730>; |
---|
139 | 131 | }; |
---|
140 | 132 | |
---|
141 | | - button@349 { |
---|
| 133 | + button-349 { |
---|
142 | 134 | label = "Volume Down"; |
---|
143 | 135 | linux,code = <KEY_VOLUMEDOWN>; |
---|
144 | 136 | channel = <0>; |
---|
.. | .. |
---|
147 | 139 | }; |
---|
148 | 140 | |
---|
149 | 141 | &mmc0 { |
---|
150 | | - pinctrl-names = "default"; |
---|
151 | | - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_primo81>; |
---|
152 | 142 | vmmc-supply = <®_dcdc1>; |
---|
153 | 143 | bus-width = <4>; |
---|
154 | 144 | cd-gpios = <&pio 0 8 GPIO_ACTIVE_LOW>; /* PA8 */ |
---|
.. | .. |
---|
156 | 146 | }; |
---|
157 | 147 | |
---|
158 | 148 | &pio { |
---|
159 | | - gt911_int_primo81: gt911_int_pin@0 { |
---|
160 | | - pins = "PA3"; |
---|
161 | | - function = "gpio_in"; |
---|
162 | | - }; |
---|
163 | | - |
---|
164 | | - mma8452_int_primo81: mma8452_int_pin@0 { |
---|
| 149 | + mma8452_int_primo81: mma8452-int-pin { |
---|
165 | 150 | pins = "PA9"; |
---|
166 | | - function = "gpio_in"; |
---|
167 | | - bias-pull-up; |
---|
168 | | - }; |
---|
169 | | - |
---|
170 | | - mmc0_cd_pin_primo81: mmc0_cd_pin@0 { |
---|
171 | | - pins = "PA8"; |
---|
172 | 151 | function = "gpio_in"; |
---|
173 | 152 | bias-pull-up; |
---|
174 | 153 | }; |
---|
.. | .. |
---|
281 | 260 | }; |
---|
282 | 261 | |
---|
283 | 262 | &usbphy { |
---|
284 | | - usb0_id_det-gpio = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */ |
---|
| 263 | + usb0_id_det-gpios = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */ |
---|
285 | 264 | usb0_vbus_power-supply = <&usb_power_supply>; |
---|
286 | 265 | usb0_vbus-supply = <®_drivevbus>; |
---|
287 | 266 | usb1_vbus-supply = <®_dldo1>; |
---|