Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 012d5f38 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

ARM: dts: sun4i: 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.

Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent bca0d7d9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -133,13 +133,13 @@
};

&pio {
	usb0_id_detect_pin: usb0_id_detect_pin@0 {
	usb0_id_detect_pin: usb0-id-detect-pin {
		pins = "PH4";
		function = "gpio_in";
		bias-pull-up;
	};

	usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
	usb0_vbus_detect_pin: usb0-vbus-detect-pin {
		pins = "PH5";
		function = "gpio_in";
		bias-pull-down;
+2 −2
Original line number Diff line number Diff line
@@ -155,13 +155,13 @@
};

&pio {
	led_pins_cubieboard: led_pins@0 {
	led_pins_cubieboard: led-pins {
		pins = "PH20", "PH21";
		function = "gpio_out";
		drive-strength = <20>;
	};

	usb0_id_detect_pin: usb0_id_detect_pin@0 {
	usb0_id_detect_pin: usb0-id-detect-pin {
		pins = "PH4";
		function = "gpio_in";
		bias-pull-up;
+3 −3
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@
		max-microvolt = <3000000>;
	};

	reg_motor: reg_motor {
	reg_motor: reg-motor {
		compatible = "regulator-fixed";
		regulator-name = "vcc-motor";
		regulator-min-microvolt = <3000000>;
@@ -160,13 +160,13 @@
};

&pio {
	usb0_id_detect_pin: usb0_id_detect_pin@0 {
	usb0_id_detect_pin: usb0-id-detect-pin {
		pins = "PH4";
		function = "gpio_in";
		bias-pull-up;
	};

	usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
	usb0_vbus_detect_pin: usb0-vbus-detect-pin {
		pins = "PH5";
		function = "gpio_in";
		bias-pull-down;
+2 −2
Original line number Diff line number Diff line
@@ -88,13 +88,13 @@
};

&pio {
	usb0_id_detect_pin: usb0_id_detect_pin@0 {
	usb0_id_detect_pin: usb0-id-detect-pin {
		pins = "PH4";
		function = "gpio_in";
		bias-pull-up;
	};

	usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
	usb0_vbus_detect_pin: usb0-vbus-detect-pin {
		pins = "PH5";
		function = "gpio_in";
		bias-pull-down;
+2 −2
Original line number Diff line number Diff line
@@ -166,13 +166,13 @@
};

&pio {
	usb0_id_detect_pin: usb0_id_detect_pin@0 {
	usb0_id_detect_pin: usb0-id-detect-pin {
		pins = "PH4";
		function = "gpio_in";
		bias-pull-up;
	};

	usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
	usb0_vbus_detect_pin: usb0-vbus-detect-pin {
		pins = "PH5";
		function = "gpio_in";
		bias-pull-down;
Loading