hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/sun8i-a23-evb.dts
....@@ -65,14 +65,10 @@
6565 };
6666
6767 &i2c0 {
68
- pinctrl-names = "default";
69
- pinctrl-0 = <&i2c0_pins_a>;
7068 status = "okay";
7169 };
7270
7371 &i2c1 {
74
- pinctrl-names = "default";
75
- pinctrl-0 = <&i2c1_pins_a>;
7672 status = "okay";
7773 };
7874
....@@ -80,21 +76,21 @@
8076 vref-supply = <&reg_vcc3v0>;
8177 status = "okay";
8278
83
- button@190 {
79
+ button-190 {
8480 label = "Volume Up";
8581 linux,code = <KEY_VOLUMEUP>;
8682 channel = <0>;
8783 voltage = <190000>;
8884 };
8985
90
- button@390 {
86
+ button-390 {
9187 label = "Volume Down";
9288 linux,code = <KEY_VOLUMEDOWN>;
9389 channel = <0>;
9490 voltage = <390000>;
9591 };
9692
97
- button@600 {
93
+ button-600 {
9894 label = "Home";
9995 linux,code = <KEY_HOME>;
10096 channel = <0>;
....@@ -103,20 +99,10 @@
10399 };
104100
105101 &mmc0 {
106
- pinctrl-names = "default";
107
- pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_evb>;
108102 vmmc-supply = <&reg_vcc3v0>;
109103 bus-width = <4>;
110104 cd-gpios = <&pio 1 4 GPIO_ACTIVE_LOW>; /* PB4 */
111105 status = "okay";
112
-};
113
-
114
-&pio {
115
- mmc0_cd_pin_evb: mmc0_cd_pin@0 {
116
- pins = "PB4";
117
- function = "gpio_in";
118
- bias-pull-up;
119
- };
120106 };
121107
122108 /*