ARM: dts: sun7i: Remove all useless pinctrl nodes
The gpio pinctrl nodes are redundant and as such useless most of the times. Since they will also generate warnings in DTC, we can simply remove most of them. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
@@ -63,8 +63,6 @@
|
||||
pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
|
||||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bl_enable_pin>;
|
||||
enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
|
||||
};
|
||||
|
||||
@@ -74,8 +72,6 @@
|
||||
};
|
||||
|
||||
&codec {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&codec_pa_pin>;
|
||||
allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>; /* PH15 */
|
||||
status = "okay";
|
||||
};
|
||||
@@ -122,8 +118,6 @@
|
||||
reg = <0x5d>;
|
||||
interrupt-parent = <&pio>;
|
||||
interrupts = <7 21 IRQ_TYPE_EDGE_FALLING>; /* EINT21 (PH21) */
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&ts_reset_pin>;
|
||||
irq-gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; /* INT (PH21) */
|
||||
reset-gpios = <&pio 1 13 GPIO_ACTIVE_HIGH>; /* RST (PB13) */
|
||||
touchscreen-swapped-x-y;
|
||||
@@ -171,21 +165,6 @@
|
||||
};
|
||||
|
||||
&pio {
|
||||
bl_enable_pin: bl_enable_pin@0 {
|
||||
pins = "PH7";
|
||||
function = "gpio_out";
|
||||
};
|
||||
|
||||
codec_pa_pin: codec_pa_pin@0 {
|
||||
pins = "PH15";
|
||||
function = "gpio_out";
|
||||
};
|
||||
|
||||
ts_reset_pin: ts_reset_pin@0 {
|
||||
pins = "PB13";
|
||||
function = "gpio_out";
|
||||
};
|
||||
|
||||
usb0_id_detect_pin: usb0_id_detect_pin@0 {
|
||||
pins = "PH4";
|
||||
function = "gpio_in";
|
||||
|
Reference in New Issue
Block a user