Skip to contentSkip to conversation

sunxi: remove allwinner prefix in pinctrl nodes

PATCH New Nuno Goncalves 2 participants 10 messages Jan 24, 2018 – Jan 25, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 sunxi: remove allwinner prefix in pinctrl nodes

---
 arch/arm/dts/sun4i-a10-a1000.dts                   |  16 +-
 arch/arm/dts/sun4i-a10-ba10-tvbox.dts              |   2 +-
 arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts         |  16 +-
 arch/arm/dts/sun4i-a10-cubieboard.dts              |  16 +-
 arch/arm/dts/sun4i-a10-dserve-dsrv9703c.dts        |  48 ++--
 arch/arm/dts/sun4i-a10-gemei-g9.dts                |   8 +-
 arch/arm/dts/sun4i-a10-hackberry.dts               |  16 +-
 arch/arm/dts/sun4i-a10-hyundai-a7hd.dts            |  18 +-
 arch/arm/dts/sun4i-a10-inet1.dts                   |  32 +--
 arch/arm/dts/sun4i-a10-inet97fv2.dts               |  16 +-
 arch/arm/dts/sun4i-a10-inet9f-rev03.dts            |  24 +-
 arch/arm/dts/sun4i-a10-jesurun-q5.dts              |  16 +-
 arch/arm/dts/sun4i-a10-marsboard.dts               |  16 +-
 arch/arm/dts/sun4i-a10-mini-xplus.dts              |   2 +-
 arch/arm/dts/sun4i-a10-mk802.dts                   |  24 +-
 arch/arm/dts/sun4i-a10-olinuxino-lime.dts          |  32 +--
 arch/arm/dts/sun4i-a10-pcduino.dts                 |  24 +-
 arch/arm/dts/sun4i-a10-pcduino2.dts                |   8 +-
 arch/arm/dts/sun4i-a10-pov-protab2-ips9.dts        |  40 +--
 arch/arm/dts/sun4i-a10.dtsi                        | 208 +++++++-------
 arch/arm/dts/sun50i-a64-pine64-plus-u-boot.dtsi    |   8 +-
 arch/arm/dts/sun5i-a10s-auxtek-t003.dts            |  20 +-
 arch/arm/dts/sun5i-a10s-auxtek-t004.dts            |  26 +-
 arch/arm/dts/sun5i-a10s-mk802.dts                  |  24 +-
 arch/arm/dts/sun5i-a10s-olinuxino-micro.dts        |  42 +--
 arch/arm/dts/sun5i-a10s-r7-tv-dongle.dts           |  24 +-
 arch/arm/dts/sun5i-a10s-wobo-i5.dts                |  26 +-
 arch/arm/dts/sun5i-a10s.dtsi                       |  56 ++--
 arch/arm/dts/sun5i-a13-empire-electronix-d709.dts  |  26 +-
 arch/arm/dts/sun5i-a13-hsg-h702.dts                |  26 +-
 arch/arm/dts/sun5i-a13-inet-98v-rev2.dts           |  26 +-
 arch/arm/dts/sun5i-a13-olinuxino-micro.dts         |  48 ++--
 arch/arm/dts/sun5i-a13-olinuxino.dts               |  42 +--
 arch/arm/dts/sun5i-a13-utoo-p66.dts                |  20 +-
 arch/arm/dts/sun5i-a13.dtsi                        |  24 +-
 arch/arm/dts/sun5i-gr8-chip-pro.dts                |  16 +-
 arch/arm/dts/sun5i-gr8.dtsi                        | 160 +++++------
 arch/arm/dts/sun5i-q8-common.dtsi                  |  32 +--
 arch/arm/dts/sun5i-r8-chip.dts                     |  26 +-
 arch/arm/dts/sun5i-reference-design-tablet.dtsi    |  40 +--
 arch/arm/dts/sun5i.dtsi                            |  64 ++---
 arch/arm/dts/sun6i-a31-app4-evb1.dts               |   8 +-
 arch/arm/dts/sun6i-a31-colombus.dts                |  26 +-
 arch/arm/dts/sun6i-a31-hummingbird.dts             |  28 +-
 arch/arm/dts/sun6i-a31-i7.dts                      |  24 +-
 arch/arm/dts/sun6i-a31-m9.dts                      |  24 +-
 arch/arm/dts/sun6i-a31-mele-a1000g-quad.dts        |  24 +-
 arch/arm/dts/sun6i-a31.dtsi                        | 112 ++++----
 arch/arm/dts/sun6i-a31s-primo81.dts                |  24 +-
 arch/arm/dts/sun6i-a31s-sina31s.dts                |  16 +-
 arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts        |  36 +--
 .../arm/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts |  10 +-
 arch/arm/dts/sun6i-reference-design-tablet.dtsi    |  16 +-
 arch/arm/dts/sun7i-a20-bananapi.dts                |  32 +--
 arch/arm/dts/sun7i-a20-bananapro.dts               |  48 ++--
 arch/arm/dts/sun7i-a20-cubieboard2.dts             |  16 +-
 arch/arm/dts/sun7i-a20-cubietruck.dts              |  50 ++--
 arch/arm/dts/sun7i-a20-hummingbird.dts             |  32 +--
 arch/arm/dts/sun7i-a20-i12-tvbox.dts               |  34 +--
 arch/arm/dts/sun7i-a20-itead-ibox.dts              |   8 +-
 arch/arm/dts/sun7i-a20-lamobo-r1.dts               |  36 +--
 arch/arm/dts/sun7i-a20-m3.dts                      |   8 +-
 arch/arm/dts/sun7i-a20-mk808c.dts                  |  16 +-
 arch/arm/dts/sun7i-a20-olimex-som-evb.dts          |  40 +--
 arch/arm/dts/sun7i-a20-olinuxino-lime.dts          |  32 +--
 arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts    |   8 +-
 arch/arm/dts/sun7i-a20-olinuxino-lime2.dts         |  40 +--
 arch/arm/dts/sun7i-a20-olinuxino-micro.dts         |  32 +--
 arch/arm/dts/sun7i-a20-orangepi-mini.dts           |  56 ++--
 arch/arm/dts/sun7i-a20-orangepi.dts                |  48 ++--
 arch/arm/dts/sun7i-a20-pcduino3-nano.dts           |  32 +--
 arch/arm/dts/sun7i-a20-pcduino3.dts                |  26 +-
 arch/arm/dts/sun7i-a20-primo73.dts                 |   2 +-
 arch/arm/dts/sun7i-a20-wexler-tab7200.dts          |  32 +--
 arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts        |  16 +-
 arch/arm/dts/sun7i-a20.dtsi                        | 320 ++++++++++-----------
 arch/arm/dts/sun8i-a23-evb.dts                     |   8 +-
 arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts   |  10 +-
 arch/arm/dts/sun8i-a23-polaroid-mid2809pxe04.dts   |  10 +-
 arch/arm/dts/sun8i-a33-inet-d978-rev2.dts          |  10 +-
 arch/arm/dts/sun8i-a33-olinuxino.dts               |  24 +-
 arch/arm/dts/sun8i-a33-sinlinx-sina33.dts          |  12 +-
 arch/arm/dts/sun8i-a83t.dtsi                       |  24 +-
 arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts         |  24 +-
 arch/arm/dts/sun8i-h3-orangepi-2.dts               |  34 +--
 arch/arm/dts/sun8i-h3-orangepi-lite.dts            |  24 +-
 arch/arm/dts/sun8i-h3-orangepi-one.dts             |  24 +-
 arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts         |   4 +-
 arch/arm/dts/sun8i-h3-orangepi-pc.dts              |  24 +-
 arch/arm/dts/sun8i-h3-orangepi-plus.dts            |  20 +-
 arch/arm/dts/sun8i-h3-orangepi-plus2e.dts          |   8 +-
 arch/arm/dts/sun8i-h3.dtsi                         |  64 ++---
 arch/arm/dts/sun8i-q8-common.dtsi                  |  10 +-
 arch/arm/dts/sun8i-r16-parrot.dts                  |  44 +--
 arch/arm/dts/sun8i-reference-design-tablet.dtsi    |  32 +--
 arch/arm/dts/sun9i-a80-cubieboard4.dts             |  18 +-
 arch/arm/dts/sun9i-a80-optimus.dts                 |  42 +--
 arch/arm/dts/sun9i-a80.dtsi                        |  64 ++---
 arch/arm/dts/sunxi-common-regulators.dtsi          |  32 +--
 99 files changed, 1618 insertions(+), 1618 deletions(-)
arch/arm/dts/sun4i-a10-a1000.dts +8 -8
index 39e368ec34..036a4332fe 100644
@@ -186,17 +186,17 @@
 
 &pio {
 	emac_power_pin_a1000: emac_power_pin at 0 {
-		allwinner,pins = "PH15";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH15";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	led_pins_a1000: led_pins at 0 {
-		allwinner,pins = "PH10", "PH20";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH10", "PH20";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun4i-a10-ba10-tvbox.dts +1 -1
index f3cb297fd1..e6f60bf5da 100644
@@ -131,7 +131,7 @@
 
 &pio {
 	usb2_vbus_pin_a: usb2_vbus_pin at 0 {
-		allwinner,pins = "PH12";
+		pins = "PH12";
 	};
 };
 
arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts +8 -8
index 023b03efa5..1592092cb3 100644
@@ -142,17 +142,17 @@
 
 &pio {
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PH5";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PH5";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 };
 
arch/arm/dts/sun4i-a10-cubieboard.dts +8 -8
index 710e2ef516..3eaffc462f 100644
@@ -165,17 +165,17 @@
 
 &pio {
 	led_pins_cubieboard: led_pins at 0 {
-		allwinner,pins = "PH20", "PH21";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_20_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH20", "PH21";
+		function = "gpio_out";
+		drive-strength = <20>;
+		bias-disable;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
arch/arm/dts/sun4i-a10-dserve-dsrv9703c.dts +24 -24

69 lines not on this page · raw message

arch/arm/dts/sun4i-a10-gemei-g9.dts +4 -4
index ac64781a0a..fdb3182b96 100644
@@ -156,10 +156,10 @@
 
 &pio {
 	codec_pa_pin: codec_pa_pin at 0 {
-		allwinner,pins = "PH15";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH15";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun4i-a10-hackberry.dts +8 -8
index 6de83a6187..11959d32e3 100644
@@ -129,17 +129,17 @@
 	pinctrl-0 = <&hackberry_hogs>;
 
 	hackberry_hogs: hogs at 0 {
-		allwinner,pins = "PH19";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH19";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	usb2_vbus_pin_hackberry: usb2_vbus_pin at 0 {
-		allwinner,pins = "PH12";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH12";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun4i-a10-hyundai-a7hd.dts +9 -9
index 9103864fef..e322c9ba53 100644
@@ -93,17 +93,17 @@
 
 &pio {
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PH5";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PH5";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 };
 
@@ -123,7 +123,7 @@
 };
 
 &usb2_vbus_pin_a {
-	allwinner,pins = "PH6";
+	pins = "PH6";
 };
 
 &usb_otg {
arch/arm/dts/sun4i-a10-inet1.dts +16 -16
index e09053bf5e..22b10c7fd6 100644
@@ -180,31 +180,31 @@
 
 &pio {
 	bl_en_pin_inet: bl_en_pin at 0 {
-		allwinner,pins = "PH7";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH7";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	touchscreen_wake_pin: touchscreen_wake_pin at 0 {
-		allwinner,pins = "PB13";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB13";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PH5";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PH5";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 };
 
arch/arm/dts/sun4i-a10-inet97fv2.dts +8 -8
index 04b0d2d1ae..f37825f0b6 100644
@@ -161,17 +161,17 @@
 
 &pio {
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PH5";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PH5";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 };
 
arch/arm/dts/sun4i-a10-inet9f-rev03.dts +12 -12
index bba4f9cf9b..3804a0f8cf 100644
@@ -320,28 +320,28 @@
 
 &pio {
 	key_pins_inet9f: key_pins at 0 {
-		allwinner,pins = "PA0", "PA1", "PA3", "PA4",
+		pins = "PA0", "PA1", "PA3", "PA4",
 				 "PA5", "PA6", "PA8", "PA9",
 				 "PA11", "PA12", "PA13",
 				 "PA14", "PA15", "PA16", "PA17",
 				 "PH22", "PH23", "PH24", "PH25", "PH26";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PH5";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PH5";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 };
 
arch/arm/dts/sun4i-a10-jesurun-q5.dts +8 -8
index e28f080b1f..5130c68ae2 100644
@@ -163,17 +163,17 @@
 
 &pio {
 	emac_power_pin_q5: emac_power_pin at 0 {
-		allwinner,pins = "PH19";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH19";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	led_pins_q5: led_pins at 0 {
-		allwinner,pins = "PH20";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH20";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun4i-a10-marsboard.dts +8 -8
index 8e50723dbe..2eddeb1471 100644
@@ -164,17 +164,17 @@
 
 &pio {
 	led_pins_marsboard: led_pins at 0 {
-		allwinner,pins = "PB5", "PB6", "PB7", "PB8";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB5", "PB6", "PB7", "PB8";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
arch/arm/dts/sun4i-a10-mini-xplus.dts +1 -1
index a7dd86d30f..af42ebb3a9 100644
@@ -93,7 +93,7 @@
 
 &ir0_rx_pins_a {
 	/* The ir receiver is not always populated */
-	allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+	bias-pull-up;
 };
 
 &mmc0 {
arch/arm/dts/sun4i-a10-mk802.dts +12 -12
index ee46ea8548..1d796a85a1 100644
@@ -91,24 +91,24 @@
 
 &pio {
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PH5";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH5";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	usb2_vbus_pin_mk802: usb2_vbus_pin at 0 {
-		allwinner,pins = "PH12";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH12";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun4i-a10-olinuxino-lime.dts +16 -16
index b350448c72..05cccdb30c 100644
@@ -168,31 +168,31 @@
 
 &pio {
 	ahci_pwr_pin_olinuxinolime: ahci_pwr_pin at 1 {
-		allwinner,pins = "PC3";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PC3";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	led_pins_olinuxinolime: led_pins at 0 {
-		allwinner,pins = "PH2";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_20_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH2";
+		function = "gpio_out";
+		drive-strength = <20>;
+		bias-disable;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PH5";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PH5";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 };
 
arch/arm/dts/sun4i-a10-pcduino.dts +12 -12
index 39034aa8e1..4e2de8f30f 100644
@@ -170,24 +170,24 @@
 
 &pio {
 	led_pins_pcduino: led_pins at 0 {
-		allwinner,pins = "PH15", "PH16";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH15", "PH16";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	key_pins_pcduino: key_pins at 0 {
-		allwinner,pins = "PH17", "PH18", "PH19";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH17", "PH18", "PH19";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
arch/arm/dts/sun4i-a10-pcduino2.dts +4 -4
index de483a1bf3..61990c27a7 100644
@@ -57,10 +57,10 @@
 
 &pio {
 	usb2_vbus_pin_pcduino2: usb2_vbus_pin at 0 {
-		allwinner,pins = "PD2";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PD2";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun4i-a10-pov-protab2-ips9.dts +20 -20
index ea90634e48..f16b8bfde6 100644
@@ -171,38 +171,38 @@
 
 &pio {
 	bl_en_pin_protab: bl_en_pin at 0 {
-		allwinner,pins = "PH7";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH7";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	codec_pa_pin: codec_pa_pin at 0 {
-		allwinner,pins = "PH15";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH15";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	touchscreen_pins: touchscreen_pins at 0 {
-		allwinner,pins = "PA5", "PB13";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PA5", "PB13";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PH5";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PH5";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 };
 
arch/arm/dts/sun4i-a10.dtsi +104 -104

294 lines not on this page · raw message

arch/arm/dts/sun50i-a64-pine64-plus-u-boot.dtsi +4 -4
index 9c61beac01..1ef4e2adab 100644
@@ -30,20 +30,20 @@
 
 &pio {
 	rmii_pins: rmii_pins {
-		allwinner,pins = "PD10", "PD11", "PD13", "PD14",
+		pins = "PD10", "PD11", "PD13", "PD14",
 				 "PD17", "PD18", "PD19", "PD20",
 				 "PD22", "PD23";
-		allwinner,function = "emac";
+		function = "emac";
 		allwinner,drive = <3>;
 		allwinner,pull = <0>;
 	};
 
 	rgmii_pins: rgmii_pins {
-		allwinner,pins = "PD8", "PD9", "PD10", "PD11",
+		pins = "PD8", "PD9", "PD10", "PD11",
 				 "PD12", "PD13", "PD15",
 				 "PD16", "PD17", "PD18", "PD19",
 				 "PD20", "PD21", "PD22", "PD23";
-		allwinner,function = "emac";
+		function = "emac";
 		allwinner,drive = <3>;
 		allwinner,pull = <0>;
 	};
arch/arm/dts/sun5i-a10s-auxtek-t003.dts +10 -10
index d4ad021823..6e23783213 100644
@@ -109,17 +109,17 @@
 
 &pio {
 	mmc0_cd_pin_t003: mmc0_cd_pin at 0 {
-		allwinner,pins = "PG1";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG1";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	led_pins_t003: led_pins at 0 {
-		allwinner,pins = "PB2";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_20_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB2";
+		function = "gpio_out";
+		drive-strength = <20>;
+		bias-disable;
 	};
 };
 
@@ -140,11 +140,11 @@
 };
 
 &usb0_vbus_pin_a {
-	allwinner,pins = "PG13";
+	pins = "PG13";
 };
 
 &usb1_vbus_pin_a {
-	allwinner,pins = "PB10";
+	pins = "PB10";
 };
 
 &usb_otg {
arch/arm/dts/sun5i-a10s-auxtek-t004.dts +13 -13
index a790ec8adb..8b9b982d8e 100644
@@ -126,24 +126,24 @@
 
 &pio {
 	mmc0_cd_pin_t004: mmc0_cd_pin at 0 {
-		allwinner,pins = "PG1";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG1";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	mmc1_vcc_en_pin_t004: mmc1_vcc_en_pin at 0 {
-		allwinner,pins = "PB18";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB18";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	led_pins_t004: led_pins at 0 {
-		allwinner,pins = "PB2";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_20_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB2";
+		function = "gpio_out";
+		drive-strength = <20>;
+		bias-disable;
 	};
 };
 
@@ -159,7 +159,7 @@
 };
 
 &usb1_vbus_pin_a {
-	allwinner,pins = "PG13";
+	pins = "PG13";
 };
 
 &usbphy {
arch/arm/dts/sun5i-a10s-mk802.dts +12 -12
index 23b0114eb4..033f817a1d 100644
@@ -116,24 +116,24 @@
 
 &pio {
 	led_pins_mk802: led_pins at 0 {
-		allwinner,pins = "PB2";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB2";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc0_cd_pin_mk802: mmc0_cd_pin at 0 {
-		allwinner,pins = "PG1";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG1";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb1_vbus_pin_mk802: usb1_vbus_pin at 0 {
-		allwinner,pins = "PB10";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB10";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun5i-a10s-olinuxino-micro.dts +21 -21

66 lines not on this page · raw message

arch/arm/dts/sun5i-a10s-r7-tv-dongle.dts +12 -12
index 3b057983c7..f2c1dcccb5 100644
@@ -101,24 +101,24 @@
 
 &pio {
 	mmc0_cd_pin_r7: mmc0_cd_pin at 0 {
-		allwinner,pins = "PG1";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG1";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	led_pins_r7: led_pins at 0 {
-		allwinner,pins = "PB2";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_20_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB2";
+		function = "gpio_out";
+		drive-strength = <20>;
+		bias-disable;
 	};
 
 	usb1_vbus_pin_r7: usb1_vbus_pin at 0 {
-		allwinner,pins = "PG13";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG13";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun5i-a10s-wobo-i5.dts +13 -13
index b5de75f4c7..3bb17d4b8b 100644
@@ -146,24 +146,24 @@
 
 &pio {
 	led_pins_wobo_i5: led_pins at 0 {
-		allwinner,pins = "PB2";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB2";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc0_cd_pin_wobo_i5: mmc0_cd_pin at 0 {
-		allwinner,pins = "PB3";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PB3";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	emac_power_pin_wobo: emac_power_pin at 0 {
-		allwinner,pins = "PA02";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PA02";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
@@ -223,7 +223,7 @@
 };
 
 &usb1_vbus_pin_a {
-	allwinner,pins = "PG12";
+	pins = "PG12";
 };
 
 &usbphy {
arch/arm/dts/sun5i-a10s.dtsi +28 -28

89 lines not on this page · raw message

arch/arm/dts/sun5i-a13-empire-electronix-d709.dts +13 -13
index 6efbba6d40..828a143689 100644
@@ -137,24 +137,24 @@
 
 &pio {
 	mmc0_cd_pin_d709: mmc0_cd_pin at 0 {
-		allwinner,pins = "PG0";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG0";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PG1";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PG1";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PG2";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG2";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
@@ -212,7 +212,7 @@
 };
 
 &usb0_vbus_pin_a {
-	allwinner,pins = "PG12";
+	pins = "PG12";
 };
 
 &usbphy {
arch/arm/dts/sun5i-a13-hsg-h702.dts +13 -13
index 3724b98806..3d3f869032 100644
@@ -136,24 +136,24 @@
 
 &pio {
 	mmc0_cd_pin_h702: mmc0_cd_pin at 0 {
-		allwinner,pins = "PG0";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG0";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PG2";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG2";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PG1";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG1";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
@@ -208,7 +208,7 @@
 };
 
 &usb0_vbus_pin_a {
-	allwinner,pins = "PG12";
+	pins = "PG12";
 };
 
 &usbphy {
arch/arm/dts/sun5i-a13-inet-98v-rev2.dts +13 -13
index 1b11ec95ae..a7ca2cfbf8 100644
@@ -129,24 +129,24 @@
 
 &pio {
 	mmc0_cd_pin_inet98fv2: mmc0_cd_pin at 0 {
-		allwinner,pins = "PG0";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG0";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PG1";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PG1";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PG2";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG2";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
@@ -198,7 +198,7 @@
 };
 
 &usb0_vbus_pin_a {
-	allwinner,pins = "PG12";
+	pins = "PG12";
 };
 
 &usbphy {
arch/arm/dts/sun5i-a13-olinuxino-micro.dts +24 -24

69 lines not on this page · raw message

arch/arm/dts/sun5i-a13-olinuxino.dts +21 -21

66 lines not on this page · raw message

arch/arm/dts/sun5i-a13-utoo-p66.dts +10 -10
index a8b0bcc045..2bf0415991 100644
@@ -80,7 +80,7 @@
 };
 
 &codec_pa_pin {
-	allwinner,pins = "PG3";
+	pins = "PG3";
 };
 
 &i2c1 {
@@ -116,17 +116,17 @@
 
 &pio {
 	i2c_lcd_pins: i2c_lcd_pin at 0 {
-		allwinner,pins = "PG10", "PG12";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG10", "PG12";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	ts_wake_pin_p66: ts_wake_pin at 0 {
-		allwinner,pins = "PB3";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB3";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 };
@@ -141,5 +141,5 @@
 };
 
 &usb0_vbus_pin_a {
-	allwinner,pins = "PB4";
+	pins = "PB4";
 };
arch/arm/dts/sun5i-a13.dtsi +12 -12
index e012890e0c..6d5acc1af0 100644
@@ -350,26 +350,26 @@
 	compatible = "allwinner,sun5i-a13-pinctrl";
 
 	lcd_rgb666_pins: lcd_rgb666 at 0 {
-		allwinner,pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
+		pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
 				 "PD10", "PD11", "PD12", "PD13", "PD14", "PD15",
 				 "PD18", "PD19", "PD20", "PD21", "PD22", "PD23",
 				 "PD24", "PD25", "PD26", "PD27";
-		allwinner,function = "lcd0";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		function = "lcd0";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	uart1_pins_a: uart1 at 0 {
-		allwinner,pins = "PE10", "PE11";
-		allwinner,function = "uart1";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PE10", "PE11";
+		function = "uart1";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	uart1_pins_b: uart1 at 1 {
-		allwinner,pins = "PG3", "PG4";
-		allwinner,function = "uart1";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG3", "PG4";
+		function = "uart1";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
arch/arm/dts/sun5i-gr8-chip-pro.dts +8 -8
index 92a2dc6250..553b130abe 100644
@@ -159,17 +159,17 @@
 
 &pio {
 	usb0_id_pin_chip_pro: usb0-id-pin at 0 {
-		allwinner,pins = "PG2";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG2";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	wifi_reg_on_pin_chip_pro: wifi-reg-on-pin at 0 {
-		allwinner,pins = "PB10";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB10";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun5i-gr8.dtsi +80 -80

230 lines not on this page · raw message

arch/arm/dts/sun5i-q8-common.dtsi +16 -16
index a78e189f66..1e4ca615da 100644
@@ -101,31 +101,31 @@
 
 &pio {
 	mmc0_cd_pin_q8: mmc0_cd_pin at 0 {
-		allwinner,pins = "PG0";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG0";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PG1";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PG1";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PG2";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG2";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_pin_a: usb0_vbus_pin at 0 {
-		allwinner,pins = "PG12";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG12";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun5i-r8-chip.dts +13 -13
index 7a8cc27279..2dcc8dfc1f 100644
@@ -134,7 +134,7 @@
 };
 
 &mmc0_pins_a {
-	allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+	bias-pull-up;
 };
 
 &mmc0 {
@@ -156,24 +156,24 @@
 
 &pio {
 	chip_vbus_pin: chip_vbus_pin at 0 {
-		allwinner,pins = "PB10";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PB10";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	chip_wifi_reg_on_pin: chip_wifi_reg_on_pin at 0 {
-		allwinner,pins = "PC19";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PC19";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	chip_id_det_pin: chip_id_det_pin at 0 {
-		allwinner,pins = "PG2";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG2";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun5i-reference-design-tablet.dtsi +20 -20
index 20cc940f5f..4058d27013 100644
@@ -112,38 +112,38 @@
 
 &pio {
 	codec_pa_pin: codec_pa_pin at 0 {
-		allwinner,pins = "PG10";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG10";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc0_cd_pin: mmc0_cd_pin at 0 {
-		allwinner,pins = "PG0";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG0";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 {
-		allwinner,pins = "PG1";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>;
+		pins = "PG1";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-down;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PG2";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PG2";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_vbus_pin_a: usb0_vbus_pin at 0 {
-		allwinner,pins = "PG12";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG12";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun5i.dtsi +32 -32

94 lines not on this page · raw message

arch/arm/dts/sun6i-a31-app4-evb1.dts +4 -4
index 2f8cfab771..c898e5c23c 100644
@@ -68,10 +68,10 @@
 
 &pio {
 	usb1_vbus_pin_a: usb1_vbus_pin at 0 {
-		allwinner,pins = "PH27";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH27";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun6i-a31-colombus.dts +13 -13
index f9cf36888d..bd75b45c0c 100644
@@ -124,29 +124,29 @@
 };
 
 &mmc0_pins_a {
-	allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+	bias-pull-up;
 };
 
 &pio {
 	mmc0_cd_pin_colombus: mmc0_cd_pin at 0 {
-		allwinner,pins = "PA8";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA8";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb2_vbus_pin_colombus: usb2_vbus_pin at 0 {
-		allwinner,pins = "PH24";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH24";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	i2c_lcd_pins: i2c_lcd_pin at 0 {
-		allwinner,pins = "PA23", "PA24";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA23", "PA24";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
arch/arm/dts/sun6i-a31-hummingbird.dts +14 -14
index 9a74637f67..4ad99618d6 100644
@@ -134,7 +134,7 @@
 
 &mmc0_pins_a {
 	/* external pull-ups missing for some pins */
-	allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+	bias-pull-up;
 };
 
 &mmc1 {
@@ -153,24 +153,24 @@
 
 &pio {
 	gmac_phy_reset_pin_hummingbird: gmac_phy_reset_pin at 0 {
-		allwinner,pins = "PA21";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PA21";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc0_cd_pin_hummingbird: mmc0_cd_pin at 0 {
-		allwinner,pins = "PA8";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA8";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	wifi_reset_pin_hummingbird: wifi_reset_pin at 0 {
-		allwinner,pins = "PG10";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG10";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
@@ -253,7 +253,7 @@
 
 &usb1_vbus_pin_a {
 	/* different pin from sunxi-common-regulators */
-	allwinner,pins = "PH24";
+	pins = "PH24";
 };
 
 &usbphy {
arch/arm/dts/sun6i-a31-i7.dts +12 -12
index e9185dad67..f1588cab3a 100644
@@ -109,24 +109,24 @@
 
 &pio {
 	led_pins_i7: led_pins at 0 {
-		allwinner,pins = "PH13";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH13";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc0_cd_pin_i7: mmc0_cd_pin at 0 {
-		allwinner,pins = "PH22";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH22";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb1_vbus_pin_i7: usb1_vbus_pin at 0 {
-		allwinner,pins = "PC27";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PC27";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun6i-a31-m9.dts +12 -12
index 29016a13a2..7e6968216e 100644
@@ -128,24 +128,24 @@
 
 &pio {
 	led_pins_m9: led_pins at 0 {
-		allwinner,pins = "PH13";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH13";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc0_cd_pin_m9: mmc0_cd_pin at 0 {
-		allwinner,pins = "PH22";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH22";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb1_vbus_pin_m9: usb1_vbus_pin at 0 {
-		allwinner,pins = "PC27";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PC27";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun6i-a31-mele-a1000g-quad.dts +12 -12
index 5faeae429e..c8c33b9fab 100644
@@ -128,24 +128,24 @@
 
 &pio {
 	led_pins_m9: led_pins at 0 {
-		allwinner,pins = "PH13";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH13";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc0_cd_pin_m9: mmc0_cd_pin at 0 {
-		allwinner,pins = "PH22";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH22";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb1_vbus_pin_m9: usb1_vbus_pin at 0 {
-		allwinner,pins = "PC27";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PC27";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun6i-a31.dtsi +56 -56

190 lines not on this page · raw message

arch/arm/dts/sun6i-a31s-primo81.dts +12 -12
index 73c133f5e7..abb501aaef 100644
@@ -134,24 +134,24 @@
 
 &pio {
 	gt911_int_primo81: gt911_int_pin at 0 {
-		allwinner,pins = "PA3";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PA3";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mma8452_int_primo81: mma8452_int_pin at 0 {
-		allwinner,pins = "PA9";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA9";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	mmc0_cd_pin_primo81: mmc0_cd_pin at 0 {
-		allwinner,pins = "PA8";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA8";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
arch/arm/dts/sun6i-a31s-sina31s.dts +8 -8
index 6ead2f5c84..a4670833d2 100644
@@ -128,17 +128,17 @@
 
 &pio {
 	led_pin_sina31s: led_pin at 0 {
-		allwinner,pins = "PH13";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH13";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc0_cd_pin_sina31s: mmc0_cd_pin at 0 {
-		allwinner,pins = "PA4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts +18 -18
index db7fa13f54..787b7e9fe1 100644
@@ -122,7 +122,7 @@
 };
 
 &mmc0_pins_a {
-	allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+	bias-pull-up;
 };
 
 &mmc2 {
@@ -144,7 +144,7 @@
 };
 
 &mmc2_pins_a {
-	allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+	bias-pull-up;
 };
 
 &ohci0 {
@@ -153,33 +153,33 @@
 
 &pio {
 	gmac_phy_reset_pin_bpi_m2: gmac_phy_reset_pin at 0 {
-		allwinner,pins = "PA21";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PA21";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	led_pins_bpi_m2: led_pins at 0 {
-		allwinner,pins = "PG5", "PG10", "PG11";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PG5", "PG10", "PG11";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc0_cd_pin_bpi_m2: mmc0_cd_pin at 0 {
-		allwinner,pins = "PA4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
 &r_pio {
 	mmc2_pwrseq_pin_bpi_m2: mmc2_pwrseq_pin at 0 {
-		allwinner,pins = "PL8";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PL8";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts +5 -5
index d6ad6196a7..61f428080f 100644
@@ -92,10 +92,10 @@
 
 &pio {
 	mmc0_cd_pin_bs1078v2: mmc0_cd_pin at 0 {
-		allwinner,pins = "PA8";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA8";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
@@ -110,7 +110,7 @@
 };
 
 &mmc0_pins_a {
-	allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+	bias-pull-up;
 };
 
 &p2wi {
arch/arm/dts/sun6i-reference-design-tablet.dtsi +8 -8
index 0c434304e0..28a02e30eb 100644
@@ -77,17 +77,17 @@
 
 &pio {
 	mmc0_cd_pin_e708_q1: mmc0_cd_pin at 0 {
-		allwinner,pins = "PA8";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA8";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PA15";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PA15";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
arch/arm/dts/sun7i-a20-bananapi.dts +16 -16
index 67c8a7644b..dc947a2d79 100644
@@ -179,31 +179,31 @@
 
 &pio {
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	mmc0_cd_pin_bananapi: mmc0_cd_pin at 0 {
-		allwinner,pins = "PH10";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH10";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 
 	gmac_power_pin_bananapi: gmac_power_pin at 0 {
-		allwinner,pins = "PH23";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH23";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	led_pins_bananapi: led_pins at 0 {
-		allwinner,pins = "PH24";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH24";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun7i-a20-bananapro.dts +24 -24

69 lines not on this page · raw message

arch/arm/dts/sun7i-a20-cubieboard2.dts +8 -8
index 1fa832d7b4..5bc5881d39 100644
@@ -160,17 +160,17 @@
 
 &pio {
 	led_pins_cubieboard2: led_pins at 0 {
-		allwinner,pins = "PH20", "PH21";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH20", "PH21";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	usb0_id_detect_pin: usb0_id_detect_pin at 0 {
-		allwinner,pins = "PH4";
-		allwinner,function = "gpio_in";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+		pins = "PH4";
+		function = "gpio_in";
+		drive-strength = <10>;
+		bias-pull-up;
 	};
 };
 
arch/arm/dts/sun7i-a20-cubietruck.dts +25 -25

77 lines not on this page · raw message

arch/arm/dts/sun7i-a20-hummingbird.dts +16 -16
index 37f4a54974..229e889829 100644
@@ -188,31 +188,31 @@
 
 &pio {
 	ahci_pwr_pin_a20_hummingbird: ahci_pwr_pin at 0 {
-		allwinner,pins = "PH15";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH15";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	usb1_vbus_pin_a20_hummingbird: usb1_vbus_pin at 0 {
-		allwinner,pins = "PH2";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH2";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	mmc3_vdd_pin_a20_hummingbird: mmc3_vdd_pin at 0 {
-		allwinner,pins = "PH9";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH9";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	gmac_vdd_pin_a20_hummingbird: gmac_vdd_pin at 0 {
-		allwinner,pins = "PH16";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH16";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun7i-a20-i12-tvbox.dts +17 -17
index 1e6bd360da..112bf09555 100644
@@ -185,7 +185,7 @@
 
 &mmc3_pins_a {
 	/* AP6210 / AP6330 requires pull-up */
-	allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+	bias-pull-up;
 };
 
 &ohci0 {
@@ -198,31 +198,31 @@
 
 &pio {
 	vmmc3_pin_i12_tvbox: vmmc3_pin at 0 {
-		allwinner,pins = "PH2";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH2";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	vmmc3_io_pin_i12_tvbox: vmmc3_io_pin at 0 {
-		allwinner,pins = "PH12";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH12";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	gmac_power_pin_i12_tvbox: gmac_power_pin at 0 {
-		allwinner,pins = "PH21";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH21";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 
 	led_pins_i12_tvbox: led_pins at 0 {
-		allwinner,pins = "PH9", "PH20";
-		allwinner,function = "gpio_out";
-		allwinner,drive = <SUN4I_PINCTRL_10_MA>;
-		allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+		pins = "PH9", "PH20";
+		function = "gpio_out";
+		drive-strength = <10>;
+		bias-disable;
 	};
 };
 
arch/arm/dts/sun7i-a20-itead-ibox.dts +4 -4
index 10d48cbf81..217a12ef11 100644
@@ -131,10 +131,10 @@
 
 &pio {
 	led_pins_itead_core: led_pins at 0 {
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-lamobo-r1.dts +18 -18
index 73c05dab0a..c7b57d9812 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-m3.dts +4 -4
index 8d9ea48dd9..c01b6f1be1 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-mk808c.dts +8 -8
index 90ff4a2670..74ea7a8f88 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-olimex-som-evb.dts +20 -20
index 23aacce4d6..dd185c0ca3 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-olinuxino-lime.dts +16 -16
index 35ad7006c5..6ba50c4621 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts +4 -4
index 10d307408f..b72ecfa8e7 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-olinuxino-lime2.dts +20 -20
index d5c796c8d1..7f16e4517c 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-olinuxino-micro.dts +16 -16
index 7e3006f6a7..a1478f901d 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-orangepi-mini.dts +28 -28

56 lines not on this page · raw message

arch/arm/dts/sun7i-a20-orangepi.dts +24 -24

48 lines not on this page · raw message

arch/arm/dts/sun7i-a20-pcduino3-nano.dts +16 -16
index ddac7328b8..2ff63a13f5 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-pcduino3.dts +13 -13
index 37b1e0ee9b..a2e53e8b32 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-primo73.dts +1 -1
index 0658f82675..674bfb9c10 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-wexler-tab7200.dts +16 -16
index 2f6b21addd..d852d31a5f 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts +8 -8
index dc31d476ef..3de53e9fa8 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun7i-a20.dtsi +160 -160

320 lines not on this page · raw message

arch/arm/dts/sun8i-a23-evb.dts +4 -4
index 610786e635..dfc60a9eb8 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts +5 -5
index f23ca63828..8ee7bafa8f 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-a23-polaroid-mid2809pxe04.dts +5 -5
index 8e8f3e0846..043261a2ed 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-a33-inet-d978-rev2.dts +5 -5
index 0f52cd9dfa..002104cf74 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-a33-olinuxino.dts +12 -12
index 9ea637e82b..1097675d34 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-a33-sinlinx-sina33.dts +6 -6
index b1bc88c46c..fa886fae10 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-a83t.dtsi +12 -12
index 0fe73e173f..64894b44dc 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts +12 -12
index f3b1d5f6db..96472e4fd3 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-h3-orangepi-2.dts +17 -17
index caa1a6959c..8695c8af93 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-h3-orangepi-lite.dts +12 -12
index 1550fee1ec..8d6f701460 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-h3-orangepi-one.dts +12 -12
index 8df5c74f04..30b1ae3285 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts +2 -2
index 851fd2c2cc..8b93f5c781 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-h3-orangepi-pc.dts +12 -12
index b8340f74e7..3c66770afa 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-h3-orangepi-plus.dts +10 -10
index e7079b26bc..86ba27f493 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-h3-orangepi-plus2e.dts +4 -4
index f97b040b35..c852113bd0 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-h3.dtsi +32 -32

64 lines not on this page · raw message

arch/arm/dts/sun8i-q8-common.dtsi +5 -5
index 8e2cc30ec8..e98bf7236c 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun8i-r16-parrot.dts +22 -22

44 lines not on this page · raw message

arch/arm/dts/sun8i-reference-design-tablet.dtsi +16 -16
index f29897c40a..87965deb66 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun9i-a80-cubieboard4.dts +9 -9
index 1526b41c70..63c74b7dec 100644

Lines of this file are not shown. View the raw message.

arch/arm/dts/sun9i-a80-optimus.dts +21 -21

42 lines not on this page · raw message

arch/arm/dts/sun9i-a80.dtsi +32 -32

64 lines not on this page · raw message

arch/arm/dts/sunxi-common-regulators.dtsi +16 -16
index f1953b0c50..247a8f6b22 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.11.0

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 2/3 sunxi: add DM I2C support for H3/H5

---
 arch/arm/dts/sun8i-h3.dtsi             | 48 ++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/arch-sunxi/gpio.h |  2 ++
 board/sunxi/board.c                    | 10 ++++++-
 3 files changed, 59 insertions(+), 1 deletion(-)
arch/arm/dts/sun8i-h3.dtsi +48 -0
index df2742095e..da17dfa579 100644
@@ -396,6 +396,21 @@
 				drive-strength = <10>;
 				bias-disable;
 			};
+
+			i2c0_pins_a: i2c0 at 0 {
+				pins = "PA11", "PA12";
+				function = "i2c0";
+			};
+
+			i2c1_pins_a: i2c1 at 0 {
+				pins = "PA18", "PA19";
+				function = "i2c1";
+			};
+
+			i2c2_pins_a: i2c2 at 0 {
+				pins = "PE12", "PE13";
+				function = "i2c2";
+			};
 		};
 
 		timer at 01c20c00 {
@@ -464,6 +479,39 @@
 			status = "disabled";
 		};
 
+		i2c0: i2c at 01c2ac00 {
+			compatible = "allwinner,sun6i-a31-i2c";
+			reg = <0x01c2ac00 0x400>;
+			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_I2C0>;
+			resets = <&ccu RST_BUS_I2C0>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c1: i2c at 01c2b000 {
+			compatible = "allwinner,sun6i-a31-i2c";
+			reg = <0x01c2b000 0x400>;
+			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_I2C1>;
+			resets = <&ccu RST_BUS_I2C1>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c2: i2c at 01c2b400 {
+			compatible = "allwinner,sun6i-a31-i2c";
+			reg = <0x01c2b400 0x400>;
+			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_I2C2>;
+			resets = <&ccu RST_BUS_I2C2>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
 		emac: ethernet at 1c30000 {
 			compatible = "allwinner,sun8i-h3-emac";
 			reg = <0x01c30000 0x104>, <0x01c00030 0x4>;
arch/arm/include/asm/arch-sunxi/gpio.h +2 -0
index 24f85206c8..52884886d7 100644
@@ -149,6 +149,8 @@ enum sunxi_gpio_number {
 #define SUN6I_GPA_SDC2		5
 #define SUN6I_GPA_SDC3		4
 #define SUN8I_H3_GPA_UART0	2
+#define SUN8I_H3_H5_GPA_TWI0	2
+#define SUN8I_H3_H5_GPA_TWI1	3
 
 #define SUN4I_GPB_PWM		2
 #define SUN4I_GPB_TWI0		2
board/sunxi/board.c +9 -1
index dcacdf3e62..6b55aef202 100644
@@ -93,6 +93,10 @@ void i2c_init_board(void)
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(14), SUN6I_GPH_TWI0);
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(15), SUN6I_GPH_TWI0);
 	clock_twi_onoff(0, 1);
+#elif defined(CONFIG_MACH_SUNXI_H3_H5)
+	sunxi_gpio_set_cfgpin(SUNXI_GPA(11), SUN8I_H3_H5_GPA_TWI0);
+	sunxi_gpio_set_cfgpin(SUNXI_GPA(12), SUN8I_H3_H5_GPA_TWI0);
+	clock_twi_onoff(0, 1);
 #elif defined(CONFIG_MACH_SUN8I)
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(2), SUN8I_GPH_TWI0);
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(3), SUN8I_GPH_TWI0);
@@ -115,6 +119,10 @@ void i2c_init_board(void)
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(16), SUN6I_GPH_TWI1);
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(17), SUN6I_GPH_TWI1);
 	clock_twi_onoff(1, 1);
+#elif defined(CONFIG_MACH_SUNXI_H3_H5)
+	sunxi_gpio_set_cfgpin(SUNXI_GPA(18), SUN8I_H3_H5_GPA_TWI1);
+	sunxi_gpio_set_cfgpin(SUNXI_GPA(19), SUN8I_H3_H5_GPA_TWI1);
+	clock_twi_onoff(1, 1);
 #elif defined(CONFIG_MACH_SUN8I)
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(4), SUN8I_GPH_TWI1);
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(5), SUN8I_GPH_TWI1);
@@ -137,7 +145,7 @@ void i2c_init_board(void)
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(18), SUN6I_GPH_TWI2);
 	sunxi_gpio_set_cfgpin(SUNXI_GPH(19), SUN6I_GPH_TWI2);
 	clock_twi_onoff(2, 1);
-#elif defined(CONFIG_MACH_SUN8I)
+#elif defined(CONFIG_MACH_SUN8I) /* same for CONFIG_MACH_SUNXI_H3_H5 */
 	sunxi_gpio_set_cfgpin(SUNXI_GPE(12), SUN8I_GPE_TWI2);
 	sunxi_gpio_set_cfgpin(SUNXI_GPE(13), SUN8I_GPE_TWI2);
 	clock_twi_onoff(2, 1);
Signature · 1 line
2.11.0
#2 lore raw

PATCH 2/3 sunxi: add DM I2C support for H3/H5

Hi,

Quoted 1 line · Nuno Goncalves

Please write a commit log.

Quoted 59 lines
---
 arch/arm/dts/sun8i-h3.dtsi             | 48 ++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/arch-sunxi/gpio.h |  2 ++
 board/sunxi/board.c                    | 10 ++++++-
 3 files changed, 59 insertions(+), 1 deletion(-)
arch/arm/dts/sun8i-h3.dtsi +38 -0
index df2742095e..da17dfa579 100644
@@ -396,6 +396,21 @@
 				drive-strength = <10>;
 				bias-disable;
 			};
+
+			i2c0_pins_a: i2c0 at 0 {
+				pins = "PA11", "PA12";
+				function = "i2c0";
+			};
+
+			i2c1_pins_a: i2c1 at 0 {
+				pins = "PA18", "PA19";
+				function = "i2c1";
+			};
+
+			i2c2_pins_a: i2c2 at 0 {
+				pins = "PE12", "PE13";
+				function = "i2c2";
+			};
 		};
 
 		timer at 01c20c00 {
@@ -464,6 +479,39 @@
 			status = "disabled";
 		};
 
+		i2c0: i2c at 01c2ac00 {
+			compatible = "allwinner,sun6i-a31-i2c";
+			reg = <0x01c2ac00 0x400>;
+			interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_I2C0>;
+			resets = <&ccu RST_BUS_I2C0>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c1: i2c at 01c2b000 {
+			compatible = "allwinner,sun6i-a31-i2c";
+			reg = <0x01c2b000 0x400>;
+			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_I2C1>;
+			resets = <&ccu RST_BUS_I2C1>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+
+		i2c2: i2c at 01c2b400 {

arch/arm/dts/sun8i-h3.dtsi line 514

Quoted 10 lines
arch/arm/dts/sun8i-h3.dtsi +10 -0
+			compatible = "allwinner,sun6i-a31-i2c";
+			reg = <0x01c2b400 0x400>;
+			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&ccu CLK_BUS_I2C2>;
+			resets = <&ccu RST_BUS_I2C2>;
+			status = "disabled";
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+

Why don't you just synchronize the DT with Linux?

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180124/0ce4c3f5/attachment.sig>
#3 lore raw

PATCH 2/3 sunxi: add DM I2C support for H3/H5

Quoted 1 line · Maxime Ripard

Why don't you just synchronize the DT with Linux?

Didn't know that was the usual approach. But in Linux the files have a different structure, for example there is sunxi-h3-h5.dtsi.

Thanks,
Nuno

#4 lore raw

PATCH 2/3 sunxi: add DM I2C support for H3/H5

Quoted 6 lines · Nuno Gonçalves
Quoted 1 line · Maxime Ripard

Why don't you just synchronize the DT with Linux?

Didn't know that was the usual approach. But in Linux the files have a different structure, for example there is sunxi-h3-h5.dtsi.

Yes, but nothing prevents us to have the same one here.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180125/bd19b23f/attachment.sig>
#5 lore raw

PATCH 3/3 sunxi: add I2C nodes present on Orange Pi >ero

In reply to Nuno Goncalves
---
 arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +12 -0
index 20d489cb2a..f028d175f3 100644
@@ -138,6 +138,18 @@
 	};
 };
 
+&i2c0 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c0_pins_a>;
+	status = "okay";
+};
+
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins_a>;
+	status = "okay";
+};
+
 &ohci1 {
 	status = "okay";
 };
Signature · 1 line
2.11.0
#6 lore raw

PATCH 3/3 sunxi: add I2C nodes present on Orange Pi >ero

Hi,

Quoted 1 line · Nuno Goncalves

Commit log please.

Quoted 14 lines
---
 arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +2 -0
index 20d489cb2a..f028d175f3 100644
@@ -138,6 +138,18 @@
 	};
 };
 
+&i2c0 {
+	pinctrl-names = "default";

arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts line 152

Quoted 10 lines
arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +10 -0
+	pinctrl-0 = <&i2c0_pins_a>;
+	status = "okay";
+};
+
+&i2c1 {
+	pinctrl-names = "default";
+	pinctrl-0 = <&i2c1_pins_a>;
+	status = "okay";
+};
+

In particular, you should describe what these i2c buses are used for.

Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180124/50a88fb0/attachment.sig>
#7 lore raw

PATCH 3/3 sunxi: add I2C nodes present on Orange Pi >ero

Quoted 1 line · Maxime Ripard

In particular, you should describe what these i2c buses are used for.

They are available on the pins exclusively. I could add the pinout for this board for sure. But maybe it doesn't make sense in this case to activate them, as without external hardware they have no use.

Thanks,
Nuno

#8 lore raw

PATCH 3/3 sunxi: add I2C nodes present on Orange Pi >ero

Quoted 7 lines · Nuno Gonçalves
Quoted 1 line · Maxime Ripard

In particular, you should describe what these i2c buses are used for.

They are available on the pins exclusively. I could add the pinout for this board for sure. But maybe it doesn't make sense in this case to activate them, as without external hardware they have no use.

Indeed. It's still good to have that patch for reference though, even if we won't merge it.

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180125/e85e7380/attachment.sig>
#9 lore raw

PATCH 1/3 sunxi: remove allwinner prefix in pinctrl nodes

In reply to Nuno Goncalves

Hi,

Quoted 1 line · Nuno Goncalves

I'd rather not do that without any particular reason. This will create needless conflicts.

Thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180124/52254ae5/attachment.sig>