hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts
....@@ -58,13 +58,11 @@
5858 /delete-property/stdout-path;
5959 };
6060
61
- i2c_lcd: i2c@0 {
61
+ i2c_lcd: i2c {
6262 /* The lcd panel i2c interface is hooked up via gpios */
6363 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 */
6866 i2c-gpio,delay-us = <5>;
6967 };
7068 };
....@@ -79,13 +77,9 @@
7977 allwinner,pa-gpios = <&pio 6 3 GPIO_ACTIVE_HIGH>; /* PG3 */
8078 };
8179
82
-&codec_pa_pin {
83
- pins = "PG3";
84
-};
85
-
8680 &mmc2 {
8781 pinctrl-names = "default";
88
- pinctrl-0 = <&mmc2_pins_a>;
82
+ pinctrl-0 = <&mmc2_8bit_pins>;
8983 vmmc-supply = <&reg_vcc3v3>;
9084 bus-width = <8>;
9185 non-removable;
....@@ -95,14 +89,6 @@
9589 reg = <0>;
9690 compatible = "mmc-card";
9791 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;
10692 };
10793 };
10894
....@@ -127,8 +113,4 @@
127113 &uart1 {
128114 /* The P66 uses the uart pins as gpios */
129115 status = "disabled";
130
-};
131
-
132
-&usb0_vbus_pin_a {
133
- pins = "PB4";
134116 };