| .. | .. |
|---|
| 73 | 73 | reg = <0x40>; |
|---|
| 74 | 74 | interrupt-parent = <&pio>; |
|---|
| 75 | 75 | interrupts = <1 5 IRQ_TYPE_EDGE_FALLING>; /* PB5 */ |
|---|
| 76 | | - pinctrl-names = "default"; |
|---|
| 77 | | - pinctrl-0 = <&ts_power_pin>; |
|---|
| 78 | 76 | power-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ |
|---|
| 79 | 77 | /* Tablet dts must provide reg and compatible */ |
|---|
| 80 | 78 | status = "disabled"; |
|---|
| .. | .. |
|---|
| 82 | 80 | }; |
|---|
| 83 | 81 | |
|---|
| 84 | 82 | &mmc0 { |
|---|
| 85 | | - pinctrl-names = "default"; |
|---|
| 86 | | - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>; |
|---|
| 87 | 83 | vmmc-supply = <®_dcdc1>; |
|---|
| 88 | 84 | bus-width = <4>; |
|---|
| 89 | 85 | cd-gpios = <&pio 1 4 GPIO_ACTIVE_LOW>; /* PB4 */ |
|---|
| 90 | 86 | status = "okay"; |
|---|
| 91 | | -}; |
|---|
| 92 | | - |
|---|
| 93 | | -&pio { |
|---|
| 94 | | - mmc0_cd_pin: mmc0_cd_pin@0 { |
|---|
| 95 | | - pins = "PB4"; |
|---|
| 96 | | - function = "gpio_in"; |
|---|
| 97 | | - bias-pull-up; |
|---|
| 98 | | - }; |
|---|
| 99 | | - |
|---|
| 100 | | - ts_power_pin: ts_power_pin@0 { |
|---|
| 101 | | - pins = "PH1"; |
|---|
| 102 | | - function = "gpio_out"; |
|---|
| 103 | | - }; |
|---|
| 104 | | - |
|---|
| 105 | | - usb0_id_detect_pin: usb0_id_detect_pin@0 { |
|---|
| 106 | | - pins = "PH8"; |
|---|
| 107 | | - function = "gpio_in"; |
|---|
| 108 | | - bias-pull-up; |
|---|
| 109 | | - }; |
|---|
| 110 | 87 | }; |
|---|
| 111 | 88 | |
|---|
| 112 | 89 | &r_rsb { |
|---|
| .. | .. |
|---|
| 239 | 216 | }; |
|---|
| 240 | 217 | |
|---|
| 241 | 218 | &usbphy { |
|---|
| 242 | | - pinctrl-names = "default"; |
|---|
| 243 | | - pinctrl-0 = <&usb0_id_detect_pin>; |
|---|
| 244 | | - usb0_id_det-gpio = <&pio 7 8 GPIO_ACTIVE_HIGH>; /* PH8 */ |
|---|
| 219 | + usb0_id_det-gpios = <&pio 7 8 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH8 */ |
|---|
| 245 | 220 | usb0_vbus_power-supply = <&usb_power_supply>; |
|---|
| 246 | 221 | usb0_vbus-supply = <®_drivevbus>; |
|---|
| 247 | 222 | status = "okay"; |
|---|