Commit bc016065 authored by Maxime Ripard's avatar Maxime Ripard

ARM: dts: sun5i: Remove underscores from nodes names

Some GPIO pinctrl nodes cannot be easily removed, because they would also
change the pin configuration, for example to add a pull resistor or change
the current delivered by the pin.

Those nodes still have underscores and unit-addresses in their node names
in our DTs, so adjust their name to remove the warnings. Use that occasion
to also fix some poorly chosen node-names.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
parent 335d7fcb
......@@ -106,7 +106,7 @@ &otg_sram {
};
&pio {
led_pins_t003: led_pins@0 {
led_pins_t003: led-pin {
pins = "PB2";
function = "gpio_out";
drive-strength = <20>;
......
......@@ -125,13 +125,13 @@ &otg_sram {
};
&pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 {
usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG12";
function = "gpio_in";
bias-pull-up;
};
led_pins_t004: led_pins@0 {
led_pins_t004: led-pin {
pins = "PB2";
function = "gpio_out";
drive-strength = <20>;
......
......@@ -223,13 +223,13 @@ &otg_sram {
};
&pio {
led_pins_olinuxino: led_pins@0 {
led_pins_olinuxino: led-pin {
pins = "PE3";
function = "gpio_out";
drive-strength = <20>;
};
usb0_id_detect_pin: usb0_id_detect_pin@0 {
usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG12";
function = "gpio_in";
bias-pull-up;
......
......@@ -98,7 +98,7 @@ &ohci0 {
};
&pio {
led_pins_r7: led_pins@0 {
led_pins_r7: led-pin {
pins = "PB2";
function = "gpio_out";
drive-strength = <20>;
......
......@@ -134,13 +134,13 @@ &otg_sram {
};
&pio {
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
usb0_vbus_detect_pin: usb0-vbus-detect-pin {
pins = "PG1";
function = "gpio_in";
bias-pull-down;
};
usb0_id_detect_pin: usb0_id_detect_pin@0 {
usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2";
function = "gpio_in";
bias-pull-up;
......
......@@ -133,7 +133,7 @@ &otg_sram {
};
&pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 {
usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2";
function = "gpio_in";
bias-pull-up;
......
......@@ -112,19 +112,19 @@ &otg_sram {
};
&pio {
led_pins_olinuxinom: led_pins@0 {
led_pins_olinuxinom: led-pin {
pins = "PG9";
function = "gpio_out";
drive-strength = <20>;
};
usb0_id_detect_pin: usb0_id_detect_pin@0 {
usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2";
function = "gpio_in";
bias-pull-up;
};
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
usb0_vbus_detect_pin: usb0-vbus-detect-pin {
pins = "PG1";
function = "gpio_in";
bias-pull-down;
......
......@@ -207,19 +207,19 @@ &otg_sram {
};
&pio {
led_pins_olinuxino: led_pins@0 {
led_pins_olinuxino: led-pin {
pins = "PG9";
function = "gpio_out";
drive-strength = <20>;
};
usb0_id_detect_pin: usb0_id_detect_pin@0 {
usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2";
function = "gpio_in";
bias-pull-up;
};
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
usb0_vbus_detect_pin: usb0-vbus-detect-pin {
pins = "PG1";
function = "gpio_in";
bias-pull-down;
......
......@@ -58,7 +58,7 @@ chosen {
/delete-property/stdout-path;
};
i2c_lcd: i2c@0 {
i2c_lcd: i2c-gpio {
/* The lcd panel i2c interface is hooked up via gpios */
compatible = "i2c-gpio";
pinctrl-names = "default";
......@@ -95,7 +95,7 @@ mmccard: mmccard@0 {
};
&pio {
i2c_lcd_pins: i2c_lcd_pin@0 {
i2c_lcd_pins: i2c-lcd-pin {
pins = "PG10", "PG12";
function = "gpio_out";
bias-pull-up;
......
......@@ -182,8 +182,7 @@ &otg_sram {
};
&pio {
chip_w1_pin: chip_w1_pin@0 {
chip_w1_pin: chip-w1-pin {
pins = "PD2";
function = "gpio_in";
bias-pull-up;
......
......@@ -137,13 +137,13 @@ &otg_sram {
};
&pio {
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
usb0_vbus_detect_pin: usb0-vbus-detect-pin {
pins = "PG1";
function = "gpio_in";
bias-pull-down;
};
usb0_id_detect_pin: usb0_id_detect_pin@0 {
usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2";
function = "gpio_in";
bias-pull-up;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment