| .. | .. |
|---|
| 58 | 58 | /delete-property/stdout-path; |
|---|
| 59 | 59 | }; |
|---|
| 60 | 60 | |
|---|
| 61 | | - i2c_lcd: i2c@0 { |
|---|
| 61 | + i2c_lcd: i2c { |
|---|
| 62 | 62 | /* The lcd panel i2c interface is hooked up via gpios */ |
|---|
| 63 | 63 | compatible = "i2c-gpio"; |
|---|
| 64 | | - pinctrl-names = "default"; |
|---|
| 65 | | - pinctrl-0 = <&i2c_lcd_pins>; |
|---|
| 66 | | - gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>, /* PG12, sda */ |
|---|
| 67 | | - <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10, scl */ |
|---|
| 64 | + sda-gpios = <&pio 6 12 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PG12 */ |
|---|
| 65 | + scl-gpios = <&pio 6 10 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PG10 */ |
|---|
| 68 | 66 | i2c-gpio,delay-us = <5>; |
|---|
| 69 | 67 | }; |
|---|
| 70 | 68 | }; |
|---|
| .. | .. |
|---|
| 79 | 77 | allwinner,pa-gpios = <&pio 6 3 GPIO_ACTIVE_HIGH>; /* PG3 */ |
|---|
| 80 | 78 | }; |
|---|
| 81 | 79 | |
|---|
| 82 | | -&codec_pa_pin { |
|---|
| 83 | | - pins = "PG3"; |
|---|
| 84 | | -}; |
|---|
| 85 | | - |
|---|
| 86 | 80 | &mmc2 { |
|---|
| 87 | 81 | pinctrl-names = "default"; |
|---|
| 88 | | - pinctrl-0 = <&mmc2_pins_a>; |
|---|
| 82 | + pinctrl-0 = <&mmc2_8bit_pins>; |
|---|
| 89 | 83 | vmmc-supply = <®_vcc3v3>; |
|---|
| 90 | 84 | bus-width = <8>; |
|---|
| 91 | 85 | non-removable; |
|---|
| .. | .. |
|---|
| 95 | 89 | reg = <0>; |
|---|
| 96 | 90 | compatible = "mmc-card"; |
|---|
| 97 | 91 | broken-hpi; |
|---|
| 98 | | - }; |
|---|
| 99 | | -}; |
|---|
| 100 | | - |
|---|
| 101 | | -&pio { |
|---|
| 102 | | - i2c_lcd_pins: i2c_lcd_pin@0 { |
|---|
| 103 | | - pins = "PG10", "PG12"; |
|---|
| 104 | | - function = "gpio_out"; |
|---|
| 105 | | - bias-pull-up; |
|---|
| 106 | 92 | }; |
|---|
| 107 | 93 | }; |
|---|
| 108 | 94 | |
|---|
| .. | .. |
|---|
| 127 | 113 | &uart1 { |
|---|
| 128 | 114 | /* The P66 uses the uart pins as gpios */ |
|---|
| 129 | 115 | status = "disabled"; |
|---|
| 130 | | -}; |
|---|
| 131 | | - |
|---|
| 132 | | -&usb0_vbus_pin_a { |
|---|
| 133 | | - pins = "PB4"; |
|---|
| 134 | 116 | }; |
|---|