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 { ...@@ -106,7 +106,7 @@ &otg_sram {
}; };
&pio { &pio {
led_pins_t003: led_pins@0 { led_pins_t003: led-pin {
pins = "PB2"; pins = "PB2";
function = "gpio_out"; function = "gpio_out";
drive-strength = <20>; drive-strength = <20>;
......
...@@ -125,13 +125,13 @@ &otg_sram { ...@@ -125,13 +125,13 @@ &otg_sram {
}; };
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG12"; pins = "PG12";
function = "gpio_in"; function = "gpio_in";
bias-pull-up; bias-pull-up;
}; };
led_pins_t004: led_pins@0 { led_pins_t004: led-pin {
pins = "PB2"; pins = "PB2";
function = "gpio_out"; function = "gpio_out";
drive-strength = <20>; drive-strength = <20>;
......
...@@ -223,13 +223,13 @@ &otg_sram { ...@@ -223,13 +223,13 @@ &otg_sram {
}; };
&pio { &pio {
led_pins_olinuxino: led_pins@0 { led_pins_olinuxino: led-pin {
pins = "PE3"; pins = "PE3";
function = "gpio_out"; function = "gpio_out";
drive-strength = <20>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG12"; pins = "PG12";
function = "gpio_in"; function = "gpio_in";
bias-pull-up; bias-pull-up;
......
...@@ -98,7 +98,7 @@ &ohci0 { ...@@ -98,7 +98,7 @@ &ohci0 {
}; };
&pio { &pio {
led_pins_r7: led_pins@0 { led_pins_r7: led-pin {
pins = "PB2"; pins = "PB2";
function = "gpio_out"; function = "gpio_out";
drive-strength = <20>; drive-strength = <20>;
......
...@@ -134,13 +134,13 @@ &otg_sram { ...@@ -134,13 +134,13 @@ &otg_sram {
}; };
&pio { &pio {
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0-vbus-detect-pin {
pins = "PG1"; pins = "PG1";
function = "gpio_in"; function = "gpio_in";
bias-pull-down; bias-pull-down;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2"; pins = "PG2";
function = "gpio_in"; function = "gpio_in";
bias-pull-up; bias-pull-up;
......
...@@ -133,7 +133,7 @@ &otg_sram { ...@@ -133,7 +133,7 @@ &otg_sram {
}; };
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2"; pins = "PG2";
function = "gpio_in"; function = "gpio_in";
bias-pull-up; bias-pull-up;
......
...@@ -112,19 +112,19 @@ &otg_sram { ...@@ -112,19 +112,19 @@ &otg_sram {
}; };
&pio { &pio {
led_pins_olinuxinom: led_pins@0 { led_pins_olinuxinom: led-pin {
pins = "PG9"; pins = "PG9";
function = "gpio_out"; function = "gpio_out";
drive-strength = <20>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2"; pins = "PG2";
function = "gpio_in"; function = "gpio_in";
bias-pull-up; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0-vbus-detect-pin {
pins = "PG1"; pins = "PG1";
function = "gpio_in"; function = "gpio_in";
bias-pull-down; bias-pull-down;
......
...@@ -207,19 +207,19 @@ &otg_sram { ...@@ -207,19 +207,19 @@ &otg_sram {
}; };
&pio { &pio {
led_pins_olinuxino: led_pins@0 { led_pins_olinuxino: led-pin {
pins = "PG9"; pins = "PG9";
function = "gpio_out"; function = "gpio_out";
drive-strength = <20>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2"; pins = "PG2";
function = "gpio_in"; function = "gpio_in";
bias-pull-up; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0-vbus-detect-pin {
pins = "PG1"; pins = "PG1";
function = "gpio_in"; function = "gpio_in";
bias-pull-down; bias-pull-down;
......
...@@ -58,7 +58,7 @@ chosen { ...@@ -58,7 +58,7 @@ chosen {
/delete-property/stdout-path; /delete-property/stdout-path;
}; };
i2c_lcd: i2c@0 { i2c_lcd: i2c-gpio {
/* The lcd panel i2c interface is hooked up via gpios */ /* The lcd panel i2c interface is hooked up via gpios */
compatible = "i2c-gpio"; compatible = "i2c-gpio";
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -95,7 +95,7 @@ mmccard: mmccard@0 { ...@@ -95,7 +95,7 @@ mmccard: mmccard@0 {
}; };
&pio { &pio {
i2c_lcd_pins: i2c_lcd_pin@0 { i2c_lcd_pins: i2c-lcd-pin {
pins = "PG10", "PG12"; pins = "PG10", "PG12";
function = "gpio_out"; function = "gpio_out";
bias-pull-up; bias-pull-up;
......
...@@ -182,8 +182,7 @@ &otg_sram { ...@@ -182,8 +182,7 @@ &otg_sram {
}; };
&pio { &pio {
chip_w1_pin: chip-w1-pin {
chip_w1_pin: chip_w1_pin@0 {
pins = "PD2"; pins = "PD2";
function = "gpio_in"; function = "gpio_in";
bias-pull-up; bias-pull-up;
......
...@@ -137,13 +137,13 @@ &otg_sram { ...@@ -137,13 +137,13 @@ &otg_sram {
}; };
&pio { &pio {
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0-vbus-detect-pin {
pins = "PG1"; pins = "PG1";
function = "gpio_in"; function = "gpio_in";
bias-pull-down; bias-pull-down;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0-id-detect-pin {
pins = "PG2"; pins = "PG2";
function = "gpio_in"; function = "gpio_in";
bias-pull-up; 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