Commit 1edcd36f authored by Maxime Ripard's avatar Maxime Ripard

ARM: sunxi: Convert pinctrl nodes to generic bindings

Now that we can handle the generic pinctrl bindings, convert our DT to it.
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 119c366a
...@@ -186,13 +186,13 @@ &ohci1 { ...@@ -186,13 +186,13 @@ &ohci1 {
&pio { &pio {
emac_power_pin_a1000: emac_power_pin@0 { emac_power_pin_a1000: emac_power_pin@0 {
allwinner,pins = "PH15"; pins = "PH15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_a1000: led_pins@0 { led_pins_a1000: led_pins@0 {
allwinner,pins = "PH10", "PH20"; pins = "PH10", "PH20";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -127,7 +127,7 @@ &otg_sram { ...@@ -127,7 +127,7 @@ &otg_sram {
&pio { &pio {
usb2_vbus_pin_a: usb2_vbus_pin@0 { usb2_vbus_pin_a: usb2_vbus_pin@0 {
allwinner,pins = "PH12"; pins = "PH12";
}; };
}; };
......
...@@ -142,15 +142,15 @@ &otg_sram { ...@@ -142,15 +142,15 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
......
...@@ -165,15 +165,15 @@ &otg_sram { ...@@ -165,15 +165,15 @@ &otg_sram {
&pio { &pio {
led_pins_cubieboard: led_pins@0 { led_pins_cubieboard: led_pins@0 {
allwinner,pins = "PH20", "PH21"; pins = "PH20", "PH21";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -178,35 +178,35 @@ &otg_sram { ...@@ -178,35 +178,35 @@ &otg_sram {
&pio { &pio {
bl_en_pin_dsrv9703c: bl_en_pin@0 { bl_en_pin_dsrv9703c: bl_en_pin@0 {
allwinner,pins = "PH7"; pins = "PH7";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
codec_pa_pin: codec_pa_pin@0 { codec_pa_pin: codec_pa_pin@0 {
allwinner,pins = "PH15"; pins = "PH15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
motor_pins: motor_pins@0 { motor_pins: motor_pins@0 {
allwinner,pins = "PB3"; pins = "PB3";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
touchscreen_pins: touchscreen_pins@0 { touchscreen_pins: touchscreen_pins@0 {
allwinner,pins = "PB13"; pins = "PB13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
......
...@@ -156,8 +156,8 @@ &mmc0 { ...@@ -156,8 +156,8 @@ &mmc0 {
&pio { &pio {
codec_pa_pin: codec_pa_pin@0 { codec_pa_pin: codec_pa_pin@0 {
allwinner,pins = "PH15"; pins = "PH15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -129,13 +129,13 @@ &pio { ...@@ -129,13 +129,13 @@ &pio {
pinctrl-0 = <&hackberry_hogs>; pinctrl-0 = <&hackberry_hogs>;
hackberry_hogs: hogs@0 { hackberry_hogs: hogs@0 {
allwinner,pins = "PH19"; pins = "PH19";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb2_vbus_pin_hackberry: usb2_vbus_pin@0 { usb2_vbus_pin_hackberry: usb2_vbus_pin@0 {
allwinner,pins = "PH12"; pins = "PH12";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -93,15 +93,15 @@ &otg_sram { ...@@ -93,15 +93,15 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
...@@ -121,7 +121,7 @@ &uart0 { ...@@ -121,7 +121,7 @@ &uart0 {
}; };
&usb2_vbus_pin_a { &usb2_vbus_pin_a {
allwinner,pins = "PH6"; pins = "PH6";
}; };
&usb_otg { &usb_otg {
......
...@@ -180,25 +180,25 @@ &otg_sram { ...@@ -180,25 +180,25 @@ &otg_sram {
&pio { &pio {
bl_en_pin_inet: bl_en_pin@0 { bl_en_pin_inet: bl_en_pin@0 {
allwinner,pins = "PH7"; pins = "PH7";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
touchscreen_wake_pin: touchscreen_wake_pin@0 { touchscreen_wake_pin: touchscreen_wake_pin@0 {
allwinner,pins = "PB13"; pins = "PB13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
......
...@@ -161,15 +161,15 @@ &otg_sram { ...@@ -161,15 +161,15 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
......
...@@ -320,25 +320,25 @@ &otg_sram { ...@@ -320,25 +320,25 @@ &otg_sram {
&pio { &pio {
key_pins_inet9f: key_pins@0 { key_pins_inet9f: key_pins@0 {
allwinner,pins = "PA0", "PA1", "PA3", "PA4", pins = "PA0", "PA1", "PA3", "PA4",
"PA5", "PA6", "PA8", "PA9", "PA5", "PA6", "PA8", "PA9",
"PA11", "PA12", "PA13", "PA11", "PA12", "PA13",
"PA14", "PA15", "PA16", "PA17", "PA14", "PA15", "PA16", "PA17",
"PH22", "PH23", "PH24", "PH25", "PH26"; "PH22", "PH23", "PH24", "PH25", "PH26";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
......
...@@ -163,13 +163,13 @@ &otg_sram { ...@@ -163,13 +163,13 @@ &otg_sram {
&pio { &pio {
emac_power_pin_q5: emac_power_pin@0 { emac_power_pin_q5: emac_power_pin@0 {
allwinner,pins = "PH19"; pins = "PH19";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_q5: led_pins@0 { led_pins_q5: led_pins@0 {
allwinner,pins = "PH20"; pins = "PH20";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -164,14 +164,14 @@ &otg_sram { ...@@ -164,14 +164,14 @@ &otg_sram {
&pio { &pio {
led_pins_marsboard: led_pins@0 { led_pins_marsboard: led_pins@0 {
allwinner,pins = "PB5", "PB6", "PB7", "PB8"; pins = "PB5", "PB6", "PB7", "PB8";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -93,7 +93,7 @@ &ir0 { ...@@ -93,7 +93,7 @@ &ir0 {
&ir0_rx_pins_a { &ir0_rx_pins_a {
/* The ir receiver is not always populated */ /* The ir receiver is not always populated */
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&mmc0 { &mmc0 {
......
...@@ -91,18 +91,18 @@ &otg_sram { ...@@ -91,18 +91,18 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb2_vbus_pin_mk802: usb2_vbus_pin@0 { usb2_vbus_pin_mk802: usb2_vbus_pin@0 {
allwinner,pins = "PH12"; pins = "PH12";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -168,26 +168,26 @@ &otg_sram { ...@@ -168,26 +168,26 @@ &otg_sram {
&pio { &pio {
ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 { ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 {
allwinner,pins = "PC3"; pins = "PC3";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_olinuxinolime: led_pins@0 { led_pins_olinuxinolime: led_pins@0 {
allwinner,pins = "PH2"; pins = "PH2";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
......
...@@ -170,19 +170,19 @@ &otg_sram { ...@@ -170,19 +170,19 @@ &otg_sram {
&pio { &pio {
led_pins_pcduino: led_pins@0 { led_pins_pcduino: led_pins@0 {
allwinner,pins = "PH15", "PH16"; pins = "PH15", "PH16";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
key_pins_pcduino: key_pins@0 { key_pins_pcduino: key_pins@0 {
allwinner,pins = "PH17", "PH18", "PH19"; pins = "PH17", "PH18", "PH19";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -57,8 +57,8 @@ / { ...@@ -57,8 +57,8 @@ / {
&pio { &pio {
usb2_vbus_pin_pcduino2: usb2_vbus_pin@0 { usb2_vbus_pin_pcduino2: usb2_vbus_pin@0 {
allwinner,pins = "PD2"; pins = "PD2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -164,30 +164,30 @@ &otg_sram { ...@@ -164,30 +164,30 @@ &otg_sram {
&pio { &pio {
bl_en_pin_protab: bl_en_pin@0 { bl_en_pin_protab: bl_en_pin@0 {
allwinner,pins = "PH7"; pins = "PH7";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
codec_pa_pin: codec_pa_pin@0 { codec_pa_pin: codec_pa_pin@0 {
allwinner,pins = "PH15"; pins = "PH15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
touchscreen_pins: touchscreen_pins@0 { touchscreen_pins: touchscreen_pins@0 {
allwinner,pins = "PA5", "PB13"; pins = "PA5", "PB13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
......
...@@ -975,141 +975,141 @@ pio: pinctrl@01c20800 { ...@@ -975,141 +975,141 @@ pio: pinctrl@01c20800 {
#gpio-cells = <3>; #gpio-cells = <3>;
emac_pins_a: emac0@0 { emac_pins_a: emac0@0 {
allwinner,pins = "PA0", "PA1", "PA2", pins = "PA0", "PA1", "PA2",
"PA3", "PA4", "PA5", "PA6", "PA3", "PA4", "PA5", "PA6",
"PA7", "PA8", "PA9", "PA10", "PA7", "PA8", "PA9", "PA10",
"PA11", "PA12", "PA13", "PA14", "PA11", "PA12", "PA13", "PA14",
"PA15", "PA16"; "PA15", "PA16";
allwinner,function = "emac"; function = "emac";
}; };
i2c0_pins_a: i2c0@0 { i2c0_pins_a: i2c0@0 {
allwinner,pins = "PB0", "PB1"; pins = "PB0", "PB1";
allwinner,function = "i2c0"; function = "i2c0";
}; };
i2c1_pins_a: i2c1@0 { i2c1_pins_a: i2c1@0 {
allwinner,pins = "PB18", "PB19"; pins = "PB18", "PB19";
allwinner,function = "i2c1"; function = "i2c1";
}; };
i2c2_pins_a: i2c2@0 { i2c2_pins_a: i2c2@0 {
allwinner,pins = "PB20", "PB21"; pins = "PB20", "PB21";
allwinner,function = "i2c2"; function = "i2c2";
}; };
ir0_rx_pins_a: ir0@0 { ir0_rx_pins_a: ir0@0 {
allwinner,pins = "PB4"; pins = "PB4";
allwinner,function = "ir0"; function = "ir0";
}; };
ir0_tx_pins_a: ir0@1 { ir0_tx_pins_a: ir0@1 {
allwinner,pins = "PB3"; pins = "PB3";
allwinner,function = "ir0"; function = "ir0";
}; };
ir1_rx_pins_a: ir1@0 { ir1_rx_pins_a: ir1@0 {
allwinner,pins = "PB23"; pins = "PB23";
allwinner,function = "ir1"; function = "ir1";
}; };
ir1_tx_pins_a: ir1@1 { ir1_tx_pins_a: ir1@1 {
allwinner,pins = "PB22"; pins = "PB22";
allwinner,function = "ir1"; function = "ir1";
}; };
mmc0_pins_a: mmc0@0 { mmc0_pins_a: mmc0@0 {
allwinner,pins = "PF0", "PF1", "PF2", pins = "PF0", "PF1", "PF2",
"PF3", "PF4", "PF5"; "PF3", "PF4", "PF5";
allwinner,function = "mmc0"; function = "mmc0";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc0_cd_pin_reference_design: mmc0_cd_pin@0 { mmc0_cd_pin_reference_design: mmc0_cd_pin@0 {
allwinner,pins = "PH1"; pins = "PH1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
ps20_pins_a: ps20@0 { ps20_pins_a: ps20@0 {
allwinner,pins = "PI20", "PI21"; pins = "PI20", "PI21";
allwinner,function = "ps2"; function = "ps2";
}; };
ps21_pins_a: ps21@0 { ps21_pins_a: ps21@0 {
allwinner,pins = "PH12", "PH13"; pins = "PH12", "PH13";
allwinner,function = "ps2"; function = "ps2";
}; };
pwm0_pins_a: pwm0@0 { pwm0_pins_a: pwm0@0 {
allwinner,pins = "PB2"; pins = "PB2";
allwinner,function = "pwm"; function = "pwm";
}; };
pwm1_pins_a: pwm1@0 { pwm1_pins_a: pwm1@0 {
allwinner,pins = "PI3"; pins = "PI3";
allwinner,function = "pwm"; function = "pwm";
}; };
spdif_tx_pins_a: spdif@0 { spdif_tx_pins_a: spdif@0 {
allwinner,pins = "PB13"; pins = "PB13";
allwinner,function = "spdif"; function = "spdif";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
spi0_pins_a: spi0@0 { spi0_pins_a: spi0@0 {
allwinner,pins = "PI11", "PI12", "PI13"; pins = "PI11", "PI12", "PI13";
allwinner,function = "spi0"; function = "spi0";
}; };
spi0_cs0_pins_a: spi0_cs0@0 { spi0_cs0_pins_a: spi0_cs0@0 {
allwinner,pins = "PI10"; pins = "PI10";
allwinner,function = "spi0"; function = "spi0";
}; };
spi1_pins_a: spi1@0 { spi1_pins_a: spi1@0 {
allwinner,pins = "PI17", "PI18", "PI19"; pins = "PI17", "PI18", "PI19";
allwinner,function = "spi1"; function = "spi1";
}; };
spi1_cs0_pins_a: spi1_cs0@0 { spi1_cs0_pins_a: spi1_cs0@0 {
allwinner,pins = "PI16"; pins = "PI16";
allwinner,function = "spi1"; function = "spi1";
}; };
spi2_pins_a: spi2@0 { spi2_pins_a: spi2@0 {
allwinner,pins = "PC20", "PC21", "PC22"; pins = "PC20", "PC21", "PC22";
allwinner,function = "spi2"; function = "spi2";
}; };
spi2_pins_b: spi2@1 { spi2_pins_b: spi2@1 {
allwinner,pins = "PB15", "PB16", "PB17"; pins = "PB15", "PB16", "PB17";
allwinner,function = "spi2"; function = "spi2";
}; };
spi2_cs0_pins_a: spi2_cs0@0 { spi2_cs0_pins_a: spi2_cs0@0 {
allwinner,pins = "PC19"; pins = "PC19";
allwinner,function = "spi2"; function = "spi2";
}; };
spi2_cs0_pins_b: spi2_cs0@1 { spi2_cs0_pins_b: spi2_cs0@1 {
allwinner,pins = "PB14"; pins = "PB14";
allwinner,function = "spi2"; function = "spi2";
}; };
uart0_pins_a: uart0@0 { uart0_pins_a: uart0@0 {
allwinner,pins = "PB22", "PB23"; pins = "PB22", "PB23";
allwinner,function = "uart0"; function = "uart0";
}; };
uart0_pins_b: uart0@1 { uart0_pins_b: uart0@1 {
allwinner,pins = "PF2", "PF4"; pins = "PF2", "PF4";
allwinner,function = "uart0"; function = "uart0";
}; };
uart1_pins_a: uart1@0 { uart1_pins_a: uart1@0 {
allwinner,pins = "PA10", "PA11"; pins = "PA10", "PA11";
allwinner,function = "uart1"; function = "uart1";
}; };
}; };
......
...@@ -109,15 +109,15 @@ &otg_sram { ...@@ -109,15 +109,15 @@ &otg_sram {
&pio { &pio {
mmc0_cd_pin_t003: mmc0_cd_pin@0 { mmc0_cd_pin_t003: mmc0_cd_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
led_pins_t003: led_pins@0 { led_pins_t003: led_pins@0 {
allwinner,pins = "PB2"; pins = "PB2";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
}; };
...@@ -138,11 +138,11 @@ &uart0 { ...@@ -138,11 +138,11 @@ &uart0 {
}; };
&usb0_vbus_pin_a { &usb0_vbus_pin_a {
allwinner,pins = "PG13"; pins = "PG13";
}; };
&usb1_vbus_pin_a { &usb1_vbus_pin_a {
allwinner,pins = "PB10"; pins = "PB10";
}; };
&usb_otg { &usb_otg {
......
...@@ -130,26 +130,26 @@ &otg_sram { ...@@ -130,26 +130,26 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PG12"; pins = "PG12";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc0_cd_pin_t004: mmc0_cd_pin@0 { mmc0_cd_pin_t004: mmc0_cd_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc1_vcc_en_pin_t004: mmc1_vcc_en_pin@0 { mmc1_vcc_en_pin_t004: mmc1_vcc_en_pin@0 {
allwinner,pins = "PB18"; pins = "PB18";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_t004: led_pins@0 { led_pins_t004: led_pins@0 {
allwinner,pins = "PB2"; pins = "PB2";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
}; };
...@@ -170,7 +170,7 @@ &usb_otg { ...@@ -170,7 +170,7 @@ &usb_otg {
}; };
&usb1_vbus_pin_a { &usb1_vbus_pin_a {
allwinner,pins = "PG13"; pins = "PG13";
}; };
&usbphy { &usbphy {
......
...@@ -116,19 +116,19 @@ &otg_sram { ...@@ -116,19 +116,19 @@ &otg_sram {
&pio { &pio {
led_pins_mk802: led_pins@0 { led_pins_mk802: led_pins@0 {
allwinner,pins = "PB2"; pins = "PB2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_mk802: mmc0_cd_pin@0 { mmc0_cd_pin_mk802: mmc0_cd_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb1_vbus_pin_mk802: usb1_vbus_pin@0 { usb1_vbus_pin_mk802: usb1_vbus_pin@0 {
allwinner,pins = "PB10"; pins = "PB10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -202,32 +202,32 @@ &otg_sram { ...@@ -202,32 +202,32 @@ &otg_sram {
&pio { &pio {
mmc0_cd_pin_olinuxino_micro: mmc0_cd_pin@0 { mmc0_cd_pin_olinuxino_micro: mmc0_cd_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc1_cd_pin_olinuxino_micro: mmc1_cd_pin@0 { mmc1_cd_pin_olinuxino_micro: mmc1_cd_pin@0 {
allwinner,pins = "PG13"; pins = "PG13";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
led_pins_olinuxino: led_pins@0 { led_pins_olinuxino: led_pins@0 {
allwinner,pins = "PE3"; pins = "PE3";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
usb1_vbus_pin_olinuxino_m: usb1_vbus_pin@0 { usb1_vbus_pin_olinuxino_m: usb1_vbus_pin@0 {
allwinner,pins = "PB10"; pins = "PB10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PG12"; pins = "PG12";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
...@@ -273,7 +273,7 @@ &usb_otg { ...@@ -273,7 +273,7 @@ &usb_otg {
}; };
&usb0_vbus_pin_a { &usb0_vbus_pin_a {
allwinner,pins = "PG11"; pins = "PG11";
}; };
&usbphy { &usbphy {
......
...@@ -101,20 +101,20 @@ &ohci0 { ...@@ -101,20 +101,20 @@ &ohci0 {
&pio { &pio {
mmc0_cd_pin_r7: mmc0_cd_pin@0 { mmc0_cd_pin_r7: mmc0_cd_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
led_pins_r7: led_pins@0 { led_pins_r7: led_pins@0 {
allwinner,pins = "PB2"; pins = "PB2";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
usb1_vbus_pin_r7: usb1_vbus_pin@0 { usb1_vbus_pin_r7: usb1_vbus_pin@0 {
allwinner,pins = "PG13"; pins = "PG13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -146,19 +146,19 @@ &otg_sram { ...@@ -146,19 +146,19 @@ &otg_sram {
&pio { &pio {
led_pins_wobo_i5: led_pins@0 { led_pins_wobo_i5: led_pins@0 {
allwinner,pins = "PB2"; pins = "PB2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_wobo_i5: mmc0_cd_pin@0 { mmc0_cd_pin_wobo_i5: mmc0_cd_pin@0 {
allwinner,pins = "PB3"; pins = "PB3";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
emac_power_pin_wobo: emac_power_pin@0 { emac_power_pin_wobo: emac_power_pin@0 {
allwinner,pins = "PA02"; pins = "PA02";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
...@@ -218,7 +218,7 @@ &usb_otg { ...@@ -218,7 +218,7 @@ &usb_otg {
}; };
&usb1_vbus_pin_a { &usb1_vbus_pin_a {
allwinner,pins = "PG12"; pins = "PG12";
}; };
&usbphy { &usbphy {
......
...@@ -200,48 +200,48 @@ &pio { ...@@ -200,48 +200,48 @@ &pio {
compatible = "allwinner,sun5i-a10s-pinctrl"; compatible = "allwinner,sun5i-a10s-pinctrl";
uart0_pins_a: uart0@0 { uart0_pins_a: uart0@0 {
allwinner,pins = "PB19", "PB20"; pins = "PB19", "PB20";
allwinner,function = "uart0"; function = "uart0";
}; };
uart2_pins_a: uart2@0 { uart2_pins_a: uart2@0 {
allwinner,pins = "PC18", "PC19"; pins = "PC18", "PC19";
allwinner,function = "uart2"; function = "uart2";
}; };
emac_pins_a: emac0@0 { emac_pins_a: emac0@0 {
allwinner,pins = "PA0", "PA1", "PA2", pins = "PA0", "PA1", "PA2",
"PA3", "PA4", "PA5", "PA6", "PA3", "PA4", "PA5", "PA6",
"PA7", "PA8", "PA9", "PA10", "PA7", "PA8", "PA9", "PA10",
"PA11", "PA12", "PA13", "PA14", "PA11", "PA12", "PA13", "PA14",
"PA15", "PA16"; "PA15", "PA16";
allwinner,function = "emac"; function = "emac";
}; };
emac_pins_b: emac0@1 { emac_pins_b: emac0@1 {
allwinner,pins = "PD6", "PD7", "PD10", pins = "PD6", "PD7", "PD10",
"PD11", "PD12", "PD13", "PD14", "PD11", "PD12", "PD13", "PD14",
"PD15", "PD18", "PD19", "PD20", "PD15", "PD18", "PD19", "PD20",
"PD21", "PD22", "PD23", "PD24", "PD21", "PD22", "PD23", "PD24",
"PD25", "PD26", "PD27"; "PD25", "PD26", "PD27";
allwinner,function = "emac"; function = "emac";
}; };
mmc1_pins_a: mmc1@0 { mmc1_pins_a: mmc1@0 {
allwinner,pins = "PG3", "PG4", "PG5", pins = "PG3", "PG4", "PG5",
"PG6", "PG7", "PG8"; "PG6", "PG7", "PG8";
allwinner,function = "mmc1"; function = "mmc1";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
spi2_pins_b: spi2@1 { spi2_pins_b: spi2@1 {
allwinner,pins = "PB12", "PB13", "PB14"; pins = "PB12", "PB13", "PB14";
allwinner,function = "spi2"; function = "spi2";
}; };
spi2_cs0_pins_b: spi2_cs0@1 { spi2_cs0_pins_b: spi2_cs0@1 {
allwinner,pins = "PB11"; pins = "PB11";
allwinner,function = "spi2"; function = "spi2";
}; };
}; };
......
...@@ -137,21 +137,21 @@ &otg_sram { ...@@ -137,21 +137,21 @@ &otg_sram {
&pio { &pio {
mmc0_cd_pin_d709: mmc0_cd_pin@0 { mmc0_cd_pin_d709: mmc0_cd_pin@0 {
allwinner,pins = "PG0"; pins = "PG0";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PG2"; pins = "PG2";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
...@@ -209,7 +209,7 @@ &usb_otg { ...@@ -209,7 +209,7 @@ &usb_otg {
}; };
&usb0_vbus_pin_a { &usb0_vbus_pin_a {
allwinner,pins = "PG12"; pins = "PG12";
}; };
&usbphy { &usbphy {
......
...@@ -136,20 +136,20 @@ &otg_sram { ...@@ -136,20 +136,20 @@ &otg_sram {
&pio { &pio {
mmc0_cd_pin_h702: mmc0_cd_pin@0 { mmc0_cd_pin_h702: mmc0_cd_pin@0 {
allwinner,pins = "PG0"; pins = "PG0";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PG2"; pins = "PG2";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
}; };
...@@ -204,7 +204,7 @@ &usb_otg { ...@@ -204,7 +204,7 @@ &usb_otg {
}; };
&usb0_vbus_pin_a { &usb0_vbus_pin_a {
allwinner,pins = "PG12"; pins = "PG12";
}; };
&usbphy { &usbphy {
......
...@@ -115,37 +115,37 @@ &otg_sram { ...@@ -115,37 +115,37 @@ &otg_sram {
&pio { &pio {
mmc0_cd_pin_olinuxinom: mmc0_cd_pin@0 { mmc0_cd_pin_olinuxinom: mmc0_cd_pin@0 {
allwinner,pins = "PG0"; pins = "PG0";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
led_pins_olinuxinom: led_pins@0 { led_pins_olinuxinom: led_pins@0 {
allwinner,pins = "PG9"; pins = "PG9";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PG2"; pins = "PG2";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
usb0_vbus_pin_olinuxinom: usb0_vbus_pin@0 { usb0_vbus_pin_olinuxinom: usb0_vbus_pin@0 {
allwinner,pins = "PG12"; pins = "PG12";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb1_vbus_pin_olinuxinom: usb1_vbus_pin@0 { usb1_vbus_pin_olinuxinom: usb1_vbus_pin@0 {
allwinner,pins = "PG11"; pins = "PG11";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -206,32 +206,32 @@ &otg_sram { ...@@ -206,32 +206,32 @@ &otg_sram {
&pio { &pio {
mmc0_cd_pin_olinuxino: mmc0_cd_pin@0 { mmc0_cd_pin_olinuxino: mmc0_cd_pin@0 {
allwinner,pins = "PG0"; pins = "PG0";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
led_pins_olinuxino: led_pins@0 { led_pins_olinuxino: led_pins@0 {
allwinner,pins = "PG9"; pins = "PG9";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PG2"; pins = "PG2";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
usb1_vbus_pin_olinuxino: usb1_vbus_pin@0 { usb1_vbus_pin_olinuxino: usb1_vbus_pin@0 {
allwinner,pins = "PG11"; pins = "PG11";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
...@@ -271,7 +271,7 @@ &usb_otg { ...@@ -271,7 +271,7 @@ &usb_otg {
}; };
&usb0_vbus_pin_a { &usb0_vbus_pin_a {
allwinner,pins = "PG12"; pins = "PG12";
}; };
&usbphy { &usbphy {
......
...@@ -80,7 +80,7 @@ &codec { ...@@ -80,7 +80,7 @@ &codec {
}; };
&codec_pa_pin { &codec_pa_pin {
allwinner,pins = "PG3"; pins = "PG3";
}; };
&mmc2 { &mmc2 {
...@@ -100,9 +100,9 @@ mmccard: mmccard@0 { ...@@ -100,9 +100,9 @@ mmccard: mmccard@0 {
&pio { &pio {
i2c_lcd_pins: i2c_lcd_pin@0 { i2c_lcd_pins: i2c_lcd_pin@0 {
allwinner,pins = "PG10", "PG12"; pins = "PG10", "PG12";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
...@@ -130,5 +130,5 @@ &uart1 { ...@@ -130,5 +130,5 @@ &uart1 {
}; };
&usb0_vbus_pin_a { &usb0_vbus_pin_a {
allwinner,pins = "PB4"; pins = "PB4";
}; };
...@@ -350,20 +350,20 @@ &pio { ...@@ -350,20 +350,20 @@ &pio {
compatible = "allwinner,sun5i-a13-pinctrl"; compatible = "allwinner,sun5i-a13-pinctrl";
lcd_rgb666_pins: lcd_rgb666@0 { lcd_rgb666_pins: lcd_rgb666@0 {
allwinner,pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15",
"PD18", "PD19", "PD20", "PD21", "PD22", "PD23", "PD18", "PD19", "PD20", "PD21", "PD22", "PD23",
"PD24", "PD25", "PD26", "PD27"; "PD24", "PD25", "PD26", "PD27";
allwinner,function = "lcd0"; function = "lcd0";
}; };
uart1_pins_a: uart1@0 { uart1_pins_a: uart1@0 {
allwinner,pins = "PE10", "PE11"; pins = "PE10", "PE11";
allwinner,function = "uart1"; function = "uart1";
}; };
uart1_pins_b: uart1@1 { uart1_pins_b: uart1@1 {
allwinner,pins = "PG3", "PG4"; pins = "PG3", "PG4";
allwinner,function = "uart1"; function = "uart1";
}; };
}; };
...@@ -159,13 +159,13 @@ &otg_sram { ...@@ -159,13 +159,13 @@ &otg_sram {
&pio { &pio {
usb0_id_pin_chip_pro: usb0-id-pin@0 { usb0_id_pin_chip_pro: usb0-id-pin@0 {
allwinner,pins = "PG2"; pins = "PG2";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
wifi_reg_on_pin_chip_pro: wifi-reg-on-pin@0 { wifi_reg_on_pin_chip_pro: wifi-reg-on-pin@0 {
allwinner,pins = "PB10"; pins = "PB10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -259,23 +259,23 @@ &otg_sram { ...@@ -259,23 +259,23 @@ &otg_sram {
&pio { &pio {
mmc0_cd_pin_gr8_evb: mmc0-cd-pin@0 { mmc0_cd_pin_gr8_evb: mmc0-cd-pin@0 {
allwinner,pins = "PG0"; pins = "PG0";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb0_id_pin_gr8_evb: usb0-id-pin@0 { usb0_id_pin_gr8_evb: usb0-id-pin@0 {
allwinner,pins = "PG2"; pins = "PG2";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb0_vbus_det_pin_gr8_evb: usb0-vbus-det-pin@0 { usb0_vbus_det_pin_gr8_evb: usb0-vbus-det-pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb1_vbus_pin_gr8_evb: usb1-vbus-pin@0 { usb1_vbus_pin_gr8_evb: usb1-vbus-pin@0 {
allwinner,pins = "PG13"; pins = "PG13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -764,112 +764,112 @@ pio: pinctrl@01c20800 { ...@@ -764,112 +764,112 @@ pio: pinctrl@01c20800 {
#gpio-cells = <3>; #gpio-cells = <3>;
i2c0_pins_a: i2c0@0 { i2c0_pins_a: i2c0@0 {
allwinner,pins = "PB0", "PB1"; pins = "PB0", "PB1";
allwinner,function = "i2c0"; function = "i2c0";
}; };
i2c1_pins_a: i2c1@0 { i2c1_pins_a: i2c1@0 {
allwinner,pins = "PB15", "PB16"; pins = "PB15", "PB16";
allwinner,function = "i2c1"; function = "i2c1";
}; };
i2c2_pins_a: i2c2@0 { i2c2_pins_a: i2c2@0 {
allwinner,pins = "PB17", "PB18"; pins = "PB17", "PB18";
allwinner,function = "i2c2"; function = "i2c2";
}; };
i2s0_data_pins_a: i2s0-data@0 { i2s0_data_pins_a: i2s0-data@0 {
allwinner,pins = "PB6", "PB7", "PB8", "PB9"; pins = "PB6", "PB7", "PB8", "PB9";
allwinner,function = "i2s0"; function = "i2s0";
}; };
i2s0_mclk_pins_a: i2s0-mclk@0 { i2s0_mclk_pins_a: i2s0-mclk@0 {
allwinner,pins = "PB5"; pins = "PB5";
allwinner,function = "i2s0"; function = "i2s0";
}; };
ir0_rx_pins_a: ir0@0 { ir0_rx_pins_a: ir0@0 {
allwinner,pins = "PB4"; pins = "PB4";
allwinner,function = "ir0"; function = "ir0";
}; };
lcd_rgb666_pins: lcd-rgb666@0 { lcd_rgb666_pins: lcd-rgb666@0 {
allwinner,pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15",
"PD18", "PD19", "PD20", "PD21", "PD22", "PD23", "PD18", "PD19", "PD20", "PD21", "PD22", "PD23",
"PD24", "PD25", "PD26", "PD27"; "PD24", "PD25", "PD26", "PD27";
allwinner,function = "lcd0"; function = "lcd0";
}; };
mmc0_pins_a: mmc0@0 { mmc0_pins_a: mmc0@0 {
allwinner,pins = "PF0", "PF1", "PF2", "PF3", pins = "PF0", "PF1", "PF2", "PF3",
"PF4", "PF5"; "PF4", "PF5";
allwinner,function = "mmc0"; function = "mmc0";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
nand_pins_a: nand-base0@0 { nand_pins_a: nand-base0@0 {
allwinner,pins = "PC0", "PC1", "PC2", pins = "PC0", "PC1", "PC2",
"PC5", "PC8", "PC9", "PC10", "PC5", "PC8", "PC9", "PC10",
"PC11", "PC12", "PC13", "PC14", "PC11", "PC12", "PC13", "PC14",
"PC15"; "PC15";
allwinner,function = "nand0"; function = "nand0";
}; };
nand_cs0_pins_a: nand-cs@0 { nand_cs0_pins_a: nand-cs@0 {
allwinner,pins = "PC4"; pins = "PC4";
allwinner,function = "nand0"; function = "nand0";
}; };
nand_rb0_pins_a: nand-rb@0 { nand_rb0_pins_a: nand-rb@0 {
allwinner,pins = "PC6"; pins = "PC6";
allwinner,function = "nand0"; function = "nand0";
}; };
pwm0_pins_a: pwm0@0 { pwm0_pins_a: pwm0@0 {
allwinner,pins = "PB2"; pins = "PB2";
allwinner,function = "pwm0"; function = "pwm0";
}; };
pwm1_pins: pwm1 { pwm1_pins: pwm1 {
allwinner,pins = "PG13"; pins = "PG13";
allwinner,function = "pwm1"; function = "pwm1";
}; };
spdif_tx_pins_a: spdif@0 { spdif_tx_pins_a: spdif@0 {
allwinner,pins = "PB10"; pins = "PB10";
allwinner,function = "spdif"; function = "spdif";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
uart1_pins_a: uart1@1 { uart1_pins_a: uart1@1 {
allwinner,pins = "PG3", "PG4"; pins = "PG3", "PG4";
allwinner,function = "uart1"; function = "uart1";
}; };
uart1_cts_rts_pins_a: uart1-cts-rts@0 { uart1_cts_rts_pins_a: uart1-cts-rts@0 {
allwinner,pins = "PG5", "PG6"; pins = "PG5", "PG6";
allwinner,function = "uart1"; function = "uart1";
}; };
uart2_pins_a: uart2@1 { uart2_pins_a: uart2@1 {
allwinner,pins = "PD2", "PD3"; pins = "PD2", "PD3";
allwinner,function = "uart2"; function = "uart2";
}; };
uart2_cts_rts_pins_a: uart2-cts-rts@0 { uart2_cts_rts_pins_a: uart2-cts-rts@0 {
allwinner,pins = "PD4", "PD5"; pins = "PD4", "PD5";
allwinner,function = "uart2"; function = "uart2";
}; };
uart3_pins_a: uart3@1 { uart3_pins_a: uart3@1 {
allwinner,pins = "PG9", "PG10"; pins = "PG9", "PG10";
allwinner,function = "uart3"; function = "uart3";
}; };
uart3_cts_rts_pins_a: uart3-cts-rts@0 { uart3_cts_rts_pins_a: uart3-cts-rts@0 {
allwinner,pins = "PG11", "PG12"; pins = "PG11", "PG12";
allwinner,function = "uart3"; function = "uart3";
}; };
}; };
......
...@@ -154,7 +154,7 @@ xio: gpio@38 { ...@@ -154,7 +154,7 @@ xio: gpio@38 {
}; };
&mmc0_pins_a { &mmc0_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&mmc0 { &mmc0 {
...@@ -177,24 +177,24 @@ &otg_sram { ...@@ -177,24 +177,24 @@ &otg_sram {
&pio { &pio {
chip_vbus_pin: chip_vbus_pin@0 { chip_vbus_pin: chip_vbus_pin@0 {
allwinner,pins = "PB10"; pins = "PB10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
chip_wifi_reg_on_pin: chip_wifi_reg_on_pin@0 { chip_wifi_reg_on_pin: chip_wifi_reg_on_pin@0 {
allwinner,pins = "PC19"; pins = "PC19";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
chip_id_det_pin: chip_id_det_pin@0 { chip_id_det_pin: chip_id_det_pin@0 {
allwinner,pins = "PG2"; pins = "PG2";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
chip_w1_pin: chip_w1_pin@0 { chip_w1_pin: chip_w1_pin@0 {
allwinner,pins = "PD2"; pins = "PD2";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -130,14 +130,14 @@ &otg_sram { ...@@ -130,14 +130,14 @@ &otg_sram {
&pio { &pio {
codec_pa_pin: codec_pa_pin@0 { codec_pa_pin: codec_pa_pin@0 {
allwinner,pins = "PG10"; pins = "PG10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin: mmc0_cd_pin@0 { mmc0_cd_pin: mmc0_cd_pin@0 {
allwinner,pins = "PG0"; pins = "PG0";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
ts_power_pin: ts_power_pin { ts_power_pin: ts_power_pin {
...@@ -148,20 +148,20 @@ ts_power_pin: ts_power_pin { ...@@ -148,20 +148,20 @@ ts_power_pin: ts_power_pin {
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PG1"; pins = "PG1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PG2"; pins = "PG2";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_pin_a: usb0_vbus_pin@0 { usb0_vbus_pin_a: usb0_vbus_pin@0 {
allwinner,pins = "PG12"; pins = "PG12";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -555,67 +555,67 @@ pio: pinctrl@01c20800 { ...@@ -555,67 +555,67 @@ pio: pinctrl@01c20800 {
#gpio-cells = <3>; #gpio-cells = <3>;
i2c0_pins_a: i2c0@0 { i2c0_pins_a: i2c0@0 {
allwinner,pins = "PB0", "PB1"; pins = "PB0", "PB1";
allwinner,function = "i2c0"; function = "i2c0";
}; };
i2c1_pins_a: i2c1@0 { i2c1_pins_a: i2c1@0 {
allwinner,pins = "PB15", "PB16"; pins = "PB15", "PB16";
allwinner,function = "i2c1"; function = "i2c1";
}; };
i2c2_pins_a: i2c2@0 { i2c2_pins_a: i2c2@0 {
allwinner,pins = "PB17", "PB18"; pins = "PB17", "PB18";
allwinner,function = "i2c2"; function = "i2c2";
}; };
lcd_rgb565_pins: lcd_rgb565@0 { lcd_rgb565_pins: lcd_rgb565@0 {
allwinner,pins = "PD3", "PD4", "PD5", "PD6", "PD7", pins = "PD3", "PD4", "PD5", "PD6", "PD7",
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15",
"PD19", "PD20", "PD21", "PD22", "PD23", "PD19", "PD20", "PD21", "PD22", "PD23",
"PD24", "PD25", "PD26", "PD27"; "PD24", "PD25", "PD26", "PD27";
allwinner,function = "lcd0"; function = "lcd0";
}; };
mmc0_pins_a: mmc0@0 { mmc0_pins_a: mmc0@0 {
allwinner,pins = "PF0", "PF1", "PF2", "PF3", pins = "PF0", "PF1", "PF2", "PF3",
"PF4", "PF5"; "PF4", "PF5";
allwinner,function = "mmc0"; function = "mmc0";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc2_pins_a: mmc2@0 { mmc2_pins_a: mmc2@0 {
allwinner,pins = "PC6", "PC7", "PC8", "PC9", pins = "PC6", "PC7", "PC8", "PC9",
"PC10", "PC11", "PC12", "PC13", "PC10", "PC11", "PC12", "PC13",
"PC14", "PC15"; "PC14", "PC15";
allwinner,function = "mmc2"; function = "mmc2";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
spi2_pins_a: spi2@0 { spi2_pins_a: spi2@0 {
allwinner,pins = "PE1", "PE2", "PE3"; pins = "PE1", "PE2", "PE3";
allwinner,function = "spi2"; function = "spi2";
}; };
spi2_cs0_pins_a: spi2-cs0@0 { spi2_cs0_pins_a: spi2-cs0@0 {
allwinner,pins = "PE0"; pins = "PE0";
allwinner,function = "spi2"; function = "spi2";
}; };
uart3_pins_a: uart3@0 { uart3_pins_a: uart3@0 {
allwinner,pins = "PG9", "PG10"; pins = "PG9", "PG10";
allwinner,function = "uart3"; function = "uart3";
}; };
uart3_pins_cts_rts_a: uart3-cts-rts@0 { uart3_pins_cts_rts_a: uart3-cts-rts@0 {
allwinner,pins = "PG11", "PG12"; pins = "PG11", "PG12";
allwinner,function = "uart3"; function = "uart3";
}; };
pwm0_pins: pwm0 { pwm0_pins: pwm0 {
allwinner,pins = "PB2"; pins = "PB2";
allwinner,function = "pwm"; function = "pwm";
}; };
}; };
......
...@@ -68,8 +68,8 @@ &ehci0 { ...@@ -68,8 +68,8 @@ &ehci0 {
&pio { &pio {
usb1_vbus_pin_a: usb1_vbus_pin@0 { usb1_vbus_pin_a: usb1_vbus_pin@0 {
allwinner,pins = "PH27"; pins = "PH27";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -124,25 +124,25 @@ &mmc0 { ...@@ -124,25 +124,25 @@ &mmc0 {
}; };
&mmc0_pins_a { &mmc0_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&pio { &pio {
mmc0_cd_pin_colombus: mmc0_cd_pin@0 { mmc0_cd_pin_colombus: mmc0_cd_pin@0 {
allwinner,pins = "PA8"; pins = "PA8";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb2_vbus_pin_colombus: usb2_vbus_pin@0 { usb2_vbus_pin_colombus: usb2_vbus_pin@0 {
allwinner,pins = "PH24"; pins = "PH24";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
i2c_lcd_pins: i2c_lcd_pin@0 { i2c_lcd_pins: i2c_lcd_pin@0 {
allwinner,pins = "PA23", "PA24"; pins = "PA23", "PA24";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -201,7 +201,7 @@ &mmc0 { ...@@ -201,7 +201,7 @@ &mmc0 {
&mmc0_pins_a { &mmc0_pins_a {
/* external pull-ups missing for some pins */ /* external pull-ups missing for some pins */
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&mmc1 { &mmc1 {
...@@ -220,19 +220,19 @@ &ohci0 { ...@@ -220,19 +220,19 @@ &ohci0 {
&pio { &pio {
gmac_phy_reset_pin_hummingbird: gmac_phy_reset_pin@0 { gmac_phy_reset_pin_hummingbird: gmac_phy_reset_pin@0 {
allwinner,pins = "PA21"; pins = "PA21";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_hummingbird: mmc0_cd_pin@0 { mmc0_cd_pin_hummingbird: mmc0_cd_pin@0 {
allwinner,pins = "PA8"; pins = "PA8";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
wifi_reset_pin_hummingbird: wifi_reset_pin@0 { wifi_reset_pin_hummingbird: wifi_reset_pin@0 {
allwinner,pins = "PG10"; pins = "PG10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
...@@ -328,7 +328,7 @@ &uart0 { ...@@ -328,7 +328,7 @@ &uart0 {
&usb1_vbus_pin_a { &usb1_vbus_pin_a {
/* different pin from sunxi-common-regulators */ /* different pin from sunxi-common-regulators */
allwinner,pins = "PH24"; pins = "PH24";
}; };
&usbphy { &usbphy {
......
...@@ -109,19 +109,19 @@ &mmc0 { ...@@ -109,19 +109,19 @@ &mmc0 {
&pio { &pio {
led_pins_i7: led_pins@0 { led_pins_i7: led_pins@0 {
allwinner,pins = "PH13"; pins = "PH13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_i7: mmc0_cd_pin@0 { mmc0_cd_pin_i7: mmc0_cd_pin@0 {
allwinner,pins = "PH22"; pins = "PH22";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb1_vbus_pin_i7: usb1_vbus_pin@0 { usb1_vbus_pin_i7: usb1_vbus_pin@0 {
allwinner,pins = "PC27"; pins = "PC27";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -128,19 +128,19 @@ axp22x: pmic@68 { ...@@ -128,19 +128,19 @@ axp22x: pmic@68 {
&pio { &pio {
led_pins_m9: led_pins@0 { led_pins_m9: led_pins@0 {
allwinner,pins = "PH13"; pins = "PH13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_m9: mmc0_cd_pin@0 { mmc0_cd_pin_m9: mmc0_cd_pin@0 {
allwinner,pins = "PH22"; pins = "PH22";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb1_vbus_pin_m9: usb1_vbus_pin@0 { usb1_vbus_pin_m9: usb1_vbus_pin@0 {
allwinner,pins = "PC27"; pins = "PC27";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -128,19 +128,19 @@ axp22x: pmic@68 { ...@@ -128,19 +128,19 @@ axp22x: pmic@68 {
&pio { &pio {
led_pins_m9: led_pins@0 { led_pins_m9: led_pins@0 {
allwinner,pins = "PH13"; pins = "PH13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_m9: mmc0_cd_pin@0 { mmc0_cd_pin_m9: mmc0_cd_pin@0 {
allwinner,pins = "PH22"; pins = "PH22";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb1_vbus_pin_m9: usb1_vbus_pin@0 { usb1_vbus_pin_m9: usb1_vbus_pin@0 {
allwinner,pins = "PC27"; pins = "PC27";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -479,112 +479,112 @@ pio: pinctrl@01c20800 { ...@@ -479,112 +479,112 @@ pio: pinctrl@01c20800 {
#gpio-cells = <3>; #gpio-cells = <3>;
gmac_pins_gmii_a: gmac_gmii@0 { gmac_pins_gmii_a: gmac_gmii@0 {
allwinner,pins = "PA0", "PA1", "PA2", "PA3", pins = "PA0", "PA1", "PA2", "PA3",
"PA4", "PA5", "PA6", "PA7", "PA4", "PA5", "PA6", "PA7",
"PA8", "PA9", "PA10", "PA11", "PA8", "PA9", "PA10", "PA11",
"PA12", "PA13", "PA14", "PA15", "PA12", "PA13", "PA14", "PA15",
"PA16", "PA17", "PA18", "PA19", "PA16", "PA17", "PA18", "PA19",
"PA20", "PA21", "PA22", "PA23", "PA20", "PA21", "PA22", "PA23",
"PA24", "PA25", "PA26", "PA27"; "PA24", "PA25", "PA26", "PA27";
allwinner,function = "gmac"; function = "gmac";
/* /*
* data lines in GMII mode run at 125MHz and * data lines in GMII mode run at 125MHz and
* might need a higher signal drive strength * might need a higher signal drive strength
*/ */
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
gmac_pins_mii_a: gmac_mii@0 { gmac_pins_mii_a: gmac_mii@0 {
allwinner,pins = "PA0", "PA1", "PA2", "PA3", pins = "PA0", "PA1", "PA2", "PA3",
"PA8", "PA9", "PA11", "PA8", "PA9", "PA11",
"PA12", "PA13", "PA14", "PA19", "PA12", "PA13", "PA14", "PA19",
"PA20", "PA21", "PA22", "PA23", "PA20", "PA21", "PA22", "PA23",
"PA24", "PA26", "PA27"; "PA24", "PA26", "PA27";
allwinner,function = "gmac"; function = "gmac";
}; };
gmac_pins_rgmii_a: gmac_rgmii@0 { gmac_pins_rgmii_a: gmac_rgmii@0 {
allwinner,pins = "PA0", "PA1", "PA2", "PA3", pins = "PA0", "PA1", "PA2", "PA3",
"PA9", "PA10", "PA11", "PA9", "PA10", "PA11",
"PA12", "PA13", "PA14", "PA19", "PA12", "PA13", "PA14", "PA19",
"PA20", "PA25", "PA26", "PA27"; "PA20", "PA25", "PA26", "PA27";
allwinner,function = "gmac"; function = "gmac";
/* /*
* data lines in RGMII mode use DDR mode * data lines in RGMII mode use DDR mode
* and need a higher signal drive strength * and need a higher signal drive strength
*/ */
allwinner,drive = <SUN4I_PINCTRL_40_MA>; drive-strength = <40>;
}; };
i2c0_pins_a: i2c0@0 { i2c0_pins_a: i2c0@0 {
allwinner,pins = "PH14", "PH15"; pins = "PH14", "PH15";
allwinner,function = "i2c0"; function = "i2c0";
}; };
i2c1_pins_a: i2c1@0 { i2c1_pins_a: i2c1@0 {
allwinner,pins = "PH16", "PH17"; pins = "PH16", "PH17";
allwinner,function = "i2c1"; function = "i2c1";
}; };
i2c2_pins_a: i2c2@0 { i2c2_pins_a: i2c2@0 {
allwinner,pins = "PH18", "PH19"; pins = "PH18", "PH19";
allwinner,function = "i2c2"; function = "i2c2";
}; };
lcd0_rgb888_pins: lcd0_rgb888 { lcd0_rgb888_pins: lcd0_rgb888 {
allwinner,pins = "PD0", "PD1", "PD2", "PD3", pins = "PD0", "PD1", "PD2", "PD3",
"PD4", "PD5", "PD6", "PD7", "PD4", "PD5", "PD6", "PD7",
"PD8", "PD9", "PD10", "PD11", "PD8", "PD9", "PD10", "PD11",
"PD12", "PD13", "PD14", "PD15", "PD12", "PD13", "PD14", "PD15",
"PD16", "PD17", "PD18", "PD19", "PD16", "PD17", "PD18", "PD19",
"PD20", "PD21", "PD22", "PD23", "PD20", "PD21", "PD22", "PD23",
"PD24", "PD25", "PD26", "PD27"; "PD24", "PD25", "PD26", "PD27";
allwinner,function = "lcd0"; function = "lcd0";
}; };
mmc0_pins_a: mmc0@0 { mmc0_pins_a: mmc0@0 {
allwinner,pins = "PF0", "PF1", "PF2", pins = "PF0", "PF1", "PF2",
"PF3", "PF4", "PF5"; "PF3", "PF4", "PF5";
allwinner,function = "mmc0"; function = "mmc0";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc1_pins_a: mmc1@0 { mmc1_pins_a: mmc1@0 {
allwinner,pins = "PG0", "PG1", "PG2", "PG3", pins = "PG0", "PG1", "PG2", "PG3",
"PG4", "PG5"; "PG4", "PG5";
allwinner,function = "mmc1"; function = "mmc1";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc2_pins_a: mmc2@0 { mmc2_pins_a: mmc2@0 {
allwinner,pins = "PC6", "PC7", "PC8", "PC9", pins = "PC6", "PC7", "PC8", "PC9",
"PC10", "PC11"; "PC10", "PC11";
allwinner,function = "mmc2"; function = "mmc2";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc2_8bit_emmc_pins: mmc2@1 { mmc2_8bit_emmc_pins: mmc2@1 {
allwinner,pins = "PC6", "PC7", "PC8", "PC9", pins = "PC6", "PC7", "PC8", "PC9",
"PC10", "PC11", "PC12", "PC10", "PC11", "PC12",
"PC13", "PC14", "PC15", "PC13", "PC14", "PC15",
"PC24"; "PC24";
allwinner,function = "mmc2"; function = "mmc2";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc3_8bit_emmc_pins: mmc3@1 { mmc3_8bit_emmc_pins: mmc3@1 {
allwinner,pins = "PC6", "PC7", "PC8", "PC9", pins = "PC6", "PC7", "PC8", "PC9",
"PC10", "PC11", "PC12", "PC10", "PC11", "PC12",
"PC13", "PC14", "PC15", "PC13", "PC14", "PC15",
"PC24"; "PC24";
allwinner,function = "mmc3"; function = "mmc3";
allwinner,drive = <SUN4I_PINCTRL_40_MA>; drive-strength = <40>;
}; };
uart0_pins_a: uart0@0 { uart0_pins_a: uart0@0 {
allwinner,pins = "PH20", "PH21"; pins = "PH20", "PH21";
allwinner,function = "uart0"; function = "uart0";
}; };
}; };
...@@ -1057,13 +1057,13 @@ r_pio: pinctrl@01f02c00 { ...@@ -1057,13 +1057,13 @@ r_pio: pinctrl@01f02c00 {
#gpio-cells = <3>; #gpio-cells = <3>;
ir_pins_a: ir@0 { ir_pins_a: ir@0 {
allwinner,pins = "PL4"; pins = "PL4";
allwinner,function = "s_ir"; function = "s_ir";
}; };
p2wi_pins: p2wi { p2wi_pins: p2wi {
allwinner,pins = "PL0", "PL1"; pins = "PL0", "PL1";
allwinner,function = "s_p2wi"; function = "s_p2wi";
}; };
}; };
......
...@@ -134,20 +134,20 @@ &mmc0 { ...@@ -134,20 +134,20 @@ &mmc0 {
&pio { &pio {
gt911_int_primo81: gt911_int_pin@0 { gt911_int_primo81: gt911_int_pin@0 {
allwinner,pins = "PA3"; pins = "PA3";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
mma8452_int_primo81: mma8452_int_pin@0 { mma8452_int_primo81: mma8452_int_pin@0 {
allwinner,pins = "PA9"; pins = "PA9";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc0_cd_pin_primo81: mmc0_cd_pin@0 { mmc0_cd_pin_primo81: mmc0_cd_pin@0 {
allwinner,pins = "PA8"; pins = "PA8";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -136,14 +136,14 @@ &ohci1 { ...@@ -136,14 +136,14 @@ &ohci1 {
&pio { &pio {
led_pin_sina31s: led_pin@0 { led_pin_sina31s: led_pin@0 {
allwinner,pins = "PH13"; pins = "PH13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_sina31s: mmc0_cd_pin@0 { mmc0_cd_pin_sina31s: mmc0_cd_pin@0 {
allwinner,pins = "PA4"; pins = "PA4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -122,7 +122,7 @@ &mmc0 { ...@@ -122,7 +122,7 @@ &mmc0 {
}; };
&mmc0_pins_a { &mmc0_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&mmc2 { &mmc2 {
...@@ -144,7 +144,7 @@ brcmf: bcrmf@1 { ...@@ -144,7 +144,7 @@ brcmf: bcrmf@1 {
}; };
&mmc2_pins_a { &mmc2_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&ohci0 { &ohci0 {
...@@ -153,26 +153,26 @@ &ohci0 { ...@@ -153,26 +153,26 @@ &ohci0 {
&pio { &pio {
gmac_phy_reset_pin_bpi_m2: gmac_phy_reset_pin@0 { gmac_phy_reset_pin_bpi_m2: gmac_phy_reset_pin@0 {
allwinner,pins = "PA21"; pins = "PA21";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_bpi_m2: led_pins@0 { led_pins_bpi_m2: led_pins@0 {
allwinner,pins = "PG5", "PG10", "PG11"; pins = "PG5", "PG10", "PG11";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_bpi_m2: mmc0_cd_pin@0 { mmc0_cd_pin_bpi_m2: mmc0_cd_pin@0 {
allwinner,pins = "PA4"; pins = "PA4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
&r_pio { &r_pio {
mmc2_pwrseq_pin_bpi_m2: mmc2_pwrseq_pin@0 { mmc2_pwrseq_pin_bpi_m2: mmc2_pwrseq_pin@0 {
allwinner,pins = "PL8"; pins = "PL8";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -92,9 +92,9 @@ &ohci1 { ...@@ -92,9 +92,9 @@ &ohci1 {
&pio { &pio {
mmc0_cd_pin_bs1078v2: mmc0_cd_pin@0 { mmc0_cd_pin_bs1078v2: mmc0_cd_pin@0 {
allwinner,pins = "PA8"; pins = "PA8";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
...@@ -109,7 +109,7 @@ &mmc0 { ...@@ -109,7 +109,7 @@ &mmc0 {
}; };
&mmc0_pins_a { &mmc0_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&p2wi { &p2wi {
......
...@@ -77,15 +77,15 @@ &mmc0 { ...@@ -77,15 +77,15 @@ &mmc0 {
&pio { &pio {
mmc0_cd_pin_e708_q1: mmc0_cd_pin@0 { mmc0_cd_pin_e708_q1: mmc0_cd_pin@0 {
allwinner,pins = "PA8"; pins = "PA8";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PA15"; pins = "PA15";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -183,7 +183,7 @@ brcmf: bcrmf@1 { ...@@ -183,7 +183,7 @@ brcmf: bcrmf@1 {
&mmc3_pins_a { &mmc3_pins_a {
/* AP6210 requires pull-up */ /* AP6210 requires pull-up */
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&ohci0 { &ohci0 {
...@@ -200,24 +200,24 @@ &otg_sram { ...@@ -200,24 +200,24 @@ &otg_sram {
&pio { &pio {
gmac_power_pin_bpi_m1p: gmac_power_pin@0 { gmac_power_pin_bpi_m1p: gmac_power_pin@0 {
allwinner,pins = "PH23"; pins = "PH23";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_bpi_m1p: led_pins@0 { led_pins_bpi_m1p: led_pins@0 {
allwinner,pins = "PH24", "PH25"; pins = "PH24", "PH25";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_bpi_m1p: mmc0_cd_pin@0 { mmc0_cd_pin_bpi_m1p: mmc0_cd_pin@0 {
allwinner,pins = "PH10"; pins = "PH10";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc3_pwrseq_pin_bpi_m1p: mmc3_pwrseq_pin@0 { mmc3_pwrseq_pin_bpi_m1p: mmc3_pwrseq_pin@0 {
allwinner,pins = "PH22"; pins = "PH22";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -179,25 +179,25 @@ &otg_sram { ...@@ -179,25 +179,25 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc0_cd_pin_bananapi: mmc0_cd_pin@0 { mmc0_cd_pin_bananapi: mmc0_cd_pin@0 {
allwinner,pins = "PH10"; pins = "PH10";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
gmac_power_pin_bananapi: gmac_power_pin@0 { gmac_power_pin_bananapi: gmac_power_pin@0 {
allwinner,pins = "PH23"; pins = "PH23";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_bananapi: led_pins@0 { led_pins_bananapi: led_pins@0 {
allwinner,pins = "PH24"; pins = "PH24";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -182,34 +182,34 @@ &ohci1 { ...@@ -182,34 +182,34 @@ &ohci1 {
&pio { &pio {
gmac_power_pin_bananapro: gmac_power_pin@0 { gmac_power_pin_bananapro: gmac_power_pin@0 {
allwinner,pins = "PH23"; pins = "PH23";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_bananapro: led_pins@0 { led_pins_bananapro: led_pins@0 {
allwinner,pins = "PH24", "PG2"; pins = "PH24", "PG2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_bananapro: mmc0_cd_pin@0 { mmc0_cd_pin_bananapro: mmc0_cd_pin@0 {
allwinner,pins = "PH10"; pins = "PH10";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb1_vbus_pin_bananapro: usb1_vbus_pin@0 { usb1_vbus_pin_bananapro: usb1_vbus_pin@0 {
allwinner,pins = "PH0"; pins = "PH0";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb2_vbus_pin_bananapro: usb2_vbus_pin@0 { usb2_vbus_pin_bananapro: usb2_vbus_pin@0 {
allwinner,pins = "PH1"; pins = "PH1";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
vmmc3_pin_bananapro: vmmc3_pin@0 { vmmc3_pin_bananapro: vmmc3_pin@0 {
allwinner,pins = "PH22"; pins = "PH22";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -160,14 +160,14 @@ &otg_sram { ...@@ -160,14 +160,14 @@ &otg_sram {
&pio { &pio {
led_pins_cubieboard2: led_pins@0 { led_pins_cubieboard2: led_pins@0 {
allwinner,pins = "PH20", "PH21"; pins = "PH20", "PH21";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -207,7 +207,7 @@ brcmf: bcrmf@1 { ...@@ -207,7 +207,7 @@ brcmf: bcrmf@1 {
&mmc3_pins_a { &mmc3_pins_a {
/* AP6210 requires pull-up */ /* AP6210 requires pull-up */
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&ohci0 { &ohci0 {
...@@ -224,33 +224,33 @@ &otg_sram { ...@@ -224,33 +224,33 @@ &otg_sram {
&pio { &pio {
ahci_pwr_pin_cubietruck: ahci_pwr_pin@1 { ahci_pwr_pin_cubietruck: ahci_pwr_pin@1 {
allwinner,pins = "PH12"; pins = "PH12";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_cubietruck: led_pins@0 { led_pins_cubietruck: led_pins@0 {
allwinner,pins = "PH7", "PH11", "PH20", "PH21"; pins = "PH7", "PH11", "PH20", "PH21";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc3_pwrseq_pin_cubietruck: mmc3_pwrseq_pin@0 { mmc3_pwrseq_pin_cubietruck: mmc3_pwrseq_pin@0 {
allwinner,pins = "PH9"; pins = "PH9";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_vbus_pin_a: usb0_vbus_pin@0 { usb0_vbus_pin_a: usb0_vbus_pin@0 {
allwinner,pins = "PH17"; pins = "PH17";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH19"; pins = "PH19";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH22"; pins = "PH22";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
}; };
......
...@@ -188,23 +188,23 @@ &ohci1 { ...@@ -188,23 +188,23 @@ &ohci1 {
&pio { &pio {
ahci_pwr_pin_a20_hummingbird: ahci_pwr_pin@0 { ahci_pwr_pin_a20_hummingbird: ahci_pwr_pin@0 {
allwinner,pins = "PH15"; pins = "PH15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb1_vbus_pin_a20_hummingbird: usb1_vbus_pin@0 { usb1_vbus_pin_a20_hummingbird: usb1_vbus_pin@0 {
allwinner,pins = "PH2"; pins = "PH2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc3_vdd_pin_a20_hummingbird: mmc3_vdd_pin@0 { mmc3_vdd_pin_a20_hummingbird: mmc3_vdd_pin@0 {
allwinner,pins = "PH9"; pins = "PH9";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
gmac_vdd_pin_a20_hummingbird: gmac_vdd_pin@0 { gmac_vdd_pin_a20_hummingbird: gmac_vdd_pin@0 {
allwinner,pins = "PH16"; pins = "PH16";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -185,7 +185,7 @@ brcmf: bcrmf@1 { ...@@ -185,7 +185,7 @@ brcmf: bcrmf@1 {
&mmc3_pins_a { &mmc3_pins_a {
/* AP6210 / AP6330 requires pull-up */ /* AP6210 / AP6330 requires pull-up */
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&ohci0 { &ohci0 {
...@@ -198,23 +198,23 @@ &ohci1 { ...@@ -198,23 +198,23 @@ &ohci1 {
&pio { &pio {
vmmc3_pin_i12_tvbox: vmmc3_pin@0 { vmmc3_pin_i12_tvbox: vmmc3_pin@0 {
allwinner,pins = "PH2"; pins = "PH2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
vmmc3_io_pin_i12_tvbox: vmmc3_io_pin@0 { vmmc3_io_pin_i12_tvbox: vmmc3_io_pin@0 {
allwinner,pins = "PH12"; pins = "PH12";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
gmac_power_pin_i12_tvbox: gmac_power_pin@0 { gmac_power_pin_i12_tvbox: gmac_power_pin@0 {
allwinner,pins = "PH21"; pins = "PH21";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_i12_tvbox: led_pins@0 { led_pins_i12_tvbox: led_pins@0 {
allwinner,pins = "PH9", "PH20"; pins = "PH9", "PH20";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -131,9 +131,9 @@ &mmc0 { ...@@ -131,9 +131,9 @@ &mmc0 {
&pio { &pio {
led_pins_itead_core: led_pins@0 { led_pins_itead_core: led_pins@0 {
allwinner,pins = "PH20","PH21"; pins = "PH20","PH21";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
}; };
......
...@@ -87,7 +87,7 @@ reg_gmac_3v3: gmac-3v3 { ...@@ -87,7 +87,7 @@ reg_gmac_3v3: gmac-3v3 {
}; };
&ahci_pwr_pin_a { &ahci_pwr_pin_a {
allwinner,pins = "PB3"; pins = "PB3";
}; };
&ahci { &ahci {
...@@ -222,25 +222,25 @@ &otg_sram { ...@@ -222,25 +222,25 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc0_cd_pin_lamobo_r1: mmc0_cd_pin@0 { mmc0_cd_pin_lamobo_r1: mmc0_cd_pin@0 {
allwinner,pins = "PH10"; pins = "PH10";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
gmac_power_pin_lamobo_r1: gmac_power_pin@0 { gmac_power_pin_lamobo_r1: gmac_power_pin@0 {
allwinner,pins = "PH23"; pins = "PH23";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_lamobo_r1: led_pins@0 { led_pins_lamobo_r1: led_pins@0 {
allwinner,pins = "PH24"; pins = "PH24";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
...@@ -321,7 +321,7 @@ &usb_power_supply { ...@@ -321,7 +321,7 @@ &usb_power_supply {
}; };
&usb2_vbus_pin_a { &usb2_vbus_pin_a {
allwinner,pins = "PH12"; pins = "PH12";
}; };
&usbphy { &usbphy {
......
...@@ -145,8 +145,8 @@ &ohci1 { ...@@ -145,8 +145,8 @@ &ohci1 {
&pio { &pio {
led_pins_m3: led_pins@0 { led_pins_m3: led_pins@0 {
allwinner,pins = "PH20"; pins = "PH20";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -132,13 +132,13 @@ &otg_sram { ...@@ -132,13 +132,13 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
}; };
......
...@@ -208,30 +208,30 @@ &otg_sram { ...@@ -208,30 +208,30 @@ &otg_sram {
&pio { &pio {
ahci_pwr_pin_olimex_som_evb: ahci_pwr_pin@1 { ahci_pwr_pin_olimex_som_evb: ahci_pwr_pin@1 {
allwinner,pins = "PC3"; pins = "PC3";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_olimex_som_evb: led_pins@0 { led_pins_olimex_som_evb: led_pins@0 {
allwinner,pins = "PH2"; pins = "PH2";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
mmc3_cd_pin_olimex_som_evb: mmc3_cd_pin@0 { mmc3_cd_pin_olimex_som_evb: mmc3_cd_pin@0 {
allwinner,pins = "PH0"; pins = "PH0";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
}; };
......
...@@ -153,26 +153,26 @@ &otg_sram { ...@@ -153,26 +153,26 @@ &otg_sram {
&pio { &pio {
ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 { ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 {
allwinner,pins = "PC3"; pins = "PC3";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_olinuxinolime: led_pins@0 { led_pins_olinuxinolime: led_pins@0 {
allwinner,pins = "PH2"; pins = "PH2";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
......
...@@ -57,8 +57,8 @@ mmc2_pwrseq: pwrseq { ...@@ -57,8 +57,8 @@ mmc2_pwrseq: pwrseq {
&pio { &pio {
mmc2_pins_nrst: mmc2@0 { mmc2_pins_nrst: mmc2@0 {
allwinner,pins = "PC16"; pins = "PC16";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -202,31 +202,31 @@ &otg_sram { ...@@ -202,31 +202,31 @@ &otg_sram {
&pio { &pio {
ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 { ahci_pwr_pin_olinuxinolime: ahci_pwr_pin@1 {
allwinner,pins = "PC3"; pins = "PC3";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_olinuxinolime: led_pins@0 { led_pins_olinuxinolime: led_pins@0 {
allwinner,pins = "PH2"; pins = "PH2";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
usb0_vbus_pin_lime2: usb0_vbus_pin@0 { usb0_vbus_pin_lime2: usb0_vbus_pin@0 {
allwinner,pins = "PC17"; pins = "PC17";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -227,27 +227,27 @@ &otg_sram { ...@@ -227,27 +227,27 @@ &otg_sram {
&pio { &pio {
mmc3_cd_pin_olinuxinom: mmc3_cd_pin@0 { mmc3_cd_pin_olinuxinom: mmc3_cd_pin@0 {
allwinner,pins = "PH11"; pins = "PH11";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
led_pins_olinuxino: led_pins@0 { led_pins_olinuxino: led_pins@0 {
allwinner,pins = "PH2"; pins = "PH2";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 { usb0_vbus_detect_pin: usb0_vbus_detect_pin@0 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; bias-pull-down;
}; };
}; };
......
...@@ -166,41 +166,41 @@ &otg_sram { ...@@ -166,41 +166,41 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc0_cd_pin_orangepi: mmc0_cd_pin@0 { mmc0_cd_pin_orangepi: mmc0_cd_pin@0 {
allwinner,pins = "PH10"; pins = "PH10";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc3_cd_pin_orangepi: mmc3_cd_pin@0 { mmc3_cd_pin_orangepi: mmc3_cd_pin@0 {
allwinner,pins = "PH11"; pins = "PH11";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb2_vbus_pin_bananapro: usb2_vbus_pin@0 { usb2_vbus_pin_bananapro: usb2_vbus_pin@0 {
allwinner,pins = "PH22"; pins = "PH22";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
gmac_power_pin_orangepi: gmac_power_pin@0 { gmac_power_pin_orangepi: gmac_power_pin@0 {
allwinner,pins = "PH23"; pins = "PH23";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_orangepi: led_pins@0 { led_pins_orangepi: led_pins@0 {
allwinner,pins = "PH24", "PH25"; pins = "PH24", "PH25";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb1_vbus_pin_bananapro: usb1_vbus_pin@0 { usb1_vbus_pin_bananapro: usb1_vbus_pin@0 {
allwinner,pins = "PH26"; pins = "PH26";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -147,35 +147,35 @@ &otg_sram { ...@@ -147,35 +147,35 @@ &otg_sram {
&pio { &pio {
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc0_cd_pin_orangepi: mmc0_cd_pin@0 { mmc0_cd_pin_orangepi: mmc0_cd_pin@0 {
allwinner,pins = "PH10"; pins = "PH10";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb2_vbus_pin_bananapro: usb2_vbus_pin@0 { usb2_vbus_pin_bananapro: usb2_vbus_pin@0 {
allwinner,pins = "PH22"; pins = "PH22";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
gmac_power_pin_orangepi: gmac_power_pin@0 { gmac_power_pin_orangepi: gmac_power_pin@0 {
allwinner,pins = "PH23"; pins = "PH23";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_orangepi: led_pins@0 { led_pins_orangepi: led_pins@0 {
allwinner,pins = "PH24"; pins = "PH24";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb1_vbus_pin_bananapro: usb1_vbus_pin@0 { usb1_vbus_pin_bananapro: usb1_vbus_pin@0 {
allwinner,pins = "PH26"; pins = "PH26";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -152,24 +152,24 @@ &otg_sram { ...@@ -152,24 +152,24 @@ &otg_sram {
&pio { &pio {
ahci_pwr_pin_pcduino3_nano: ahci_pwr_pin@0 { ahci_pwr_pin_pcduino3_nano: ahci_pwr_pin@0 {
allwinner,pins = "PH2"; pins = "PH2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
led_pins_pcduino3_nano: led_pins@0 { led_pins_pcduino3_nano: led_pins@0 {
allwinner,pins = "PH16", "PH15"; pins = "PH16", "PH15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb1_vbus_pin_pcduino3_nano: usb1_vbus_pin@0 { usb1_vbus_pin_pcduino3_nano: usb1_vbus_pin@0 {
allwinner,pins = "PD2"; pins = "PD2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -108,7 +108,7 @@ &ahci { ...@@ -108,7 +108,7 @@ &ahci {
}; };
&ahci_pwr_pin_a { &ahci_pwr_pin_a {
allwinner,pins = "PH2"; pins = "PH2";
}; };
&codec { &codec {
...@@ -183,19 +183,19 @@ &otg_sram { ...@@ -183,19 +183,19 @@ &otg_sram {
&pio { &pio {
led_pins_pcduino3: led_pins@0 { led_pins_pcduino3: led_pins@0 {
allwinner,pins = "PH15", "PH16"; pins = "PH15", "PH16";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
key_pins_pcduino3: key_pins@0 { key_pins_pcduino3: key_pins@0 {
allwinner,pins = "PH17", "PH18", "PH19"; pins = "PH17", "PH18", "PH19";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -173,24 +173,24 @@ &otg_sram { ...@@ -173,24 +173,24 @@ &otg_sram {
&pio { &pio {
bl_enable_pin: bl_enable_pin@0 { bl_enable_pin: bl_enable_pin@0 {
allwinner,pins = "PH7"; pins = "PH7";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
codec_pa_pin: codec_pa_pin@0 { codec_pa_pin: codec_pa_pin@0 {
allwinner,pins = "PH15"; pins = "PH15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
ts_reset_pin: ts_reset_pin@0 { ts_reset_pin: ts_reset_pin@0 {
allwinner,pins = "PB13"; pins = "PB13";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -160,14 +160,14 @@ &otg_sram { ...@@ -160,14 +160,14 @@ &otg_sram {
&pio { &pio {
vmmc3_pin_ap6xxx_wl_regon: vmmc3_pin@0 { vmmc3_pin_ap6xxx_wl_regon: vmmc3_pin@0 {
allwinner,pins = "PH9"; pins = "PH9";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -1093,229 +1093,229 @@ pio: pinctrl@01c20800 { ...@@ -1093,229 +1093,229 @@ pio: pinctrl@01c20800 {
#gpio-cells = <3>; #gpio-cells = <3>;
clk_out_a_pins_a: clk_out_a@0 { clk_out_a_pins_a: clk_out_a@0 {
allwinner,pins = "PI12"; pins = "PI12";
allwinner,function = "clk_out_a"; function = "clk_out_a";
}; };
clk_out_b_pins_a: clk_out_b@0 { clk_out_b_pins_a: clk_out_b@0 {
allwinner,pins = "PI13"; pins = "PI13";
allwinner,function = "clk_out_b"; function = "clk_out_b";
}; };
emac_pins_a: emac0@0 { emac_pins_a: emac0@0 {
allwinner,pins = "PA0", "PA1", "PA2", pins = "PA0", "PA1", "PA2",
"PA3", "PA4", "PA5", "PA6", "PA3", "PA4", "PA5", "PA6",
"PA7", "PA8", "PA9", "PA10", "PA7", "PA8", "PA9", "PA10",
"PA11", "PA12", "PA13", "PA14", "PA11", "PA12", "PA13", "PA14",
"PA15", "PA16"; "PA15", "PA16";
allwinner,function = "emac"; function = "emac";
}; };
gmac_pins_mii_a: gmac_mii@0 { gmac_pins_mii_a: gmac_mii@0 {
allwinner,pins = "PA0", "PA1", "PA2", pins = "PA0", "PA1", "PA2",
"PA3", "PA4", "PA5", "PA6", "PA3", "PA4", "PA5", "PA6",
"PA7", "PA8", "PA9", "PA10", "PA7", "PA8", "PA9", "PA10",
"PA11", "PA12", "PA13", "PA14", "PA11", "PA12", "PA13", "PA14",
"PA15", "PA16"; "PA15", "PA16";
allwinner,function = "gmac"; function = "gmac";
}; };
gmac_pins_rgmii_a: gmac_rgmii@0 { gmac_pins_rgmii_a: gmac_rgmii@0 {
allwinner,pins = "PA0", "PA1", "PA2", pins = "PA0", "PA1", "PA2",
"PA3", "PA4", "PA5", "PA6", "PA3", "PA4", "PA5", "PA6",
"PA7", "PA8", "PA10", "PA7", "PA8", "PA10",
"PA11", "PA12", "PA13", "PA11", "PA12", "PA13",
"PA15", "PA16"; "PA15", "PA16";
allwinner,function = "gmac"; function = "gmac";
/* /*
* data lines in RGMII mode use DDR mode * data lines in RGMII mode use DDR mode
* and need a higher signal drive strength * and need a higher signal drive strength
*/ */
allwinner,drive = <SUN4I_PINCTRL_40_MA>; drive-strength = <40>;
}; };
i2c0_pins_a: i2c0@0 { i2c0_pins_a: i2c0@0 {
allwinner,pins = "PB0", "PB1"; pins = "PB0", "PB1";
allwinner,function = "i2c0"; function = "i2c0";
}; };
i2c1_pins_a: i2c1@0 { i2c1_pins_a: i2c1@0 {
allwinner,pins = "PB18", "PB19"; pins = "PB18", "PB19";
allwinner,function = "i2c1"; function = "i2c1";
}; };
i2c2_pins_a: i2c2@0 { i2c2_pins_a: i2c2@0 {
allwinner,pins = "PB20", "PB21"; pins = "PB20", "PB21";
allwinner,function = "i2c2"; function = "i2c2";
}; };
i2c3_pins_a: i2c3@0 { i2c3_pins_a: i2c3@0 {
allwinner,pins = "PI0", "PI1"; pins = "PI0", "PI1";
allwinner,function = "i2c3"; function = "i2c3";
}; };
ir0_rx_pins_a: ir0@0 { ir0_rx_pins_a: ir0@0 {
allwinner,pins = "PB4"; pins = "PB4";
allwinner,function = "ir0"; function = "ir0";
}; };
ir0_tx_pins_a: ir0@1 { ir0_tx_pins_a: ir0@1 {
allwinner,pins = "PB3"; pins = "PB3";
allwinner,function = "ir0"; function = "ir0";
}; };
ir1_rx_pins_a: ir1@0 { ir1_rx_pins_a: ir1@0 {
allwinner,pins = "PB23"; pins = "PB23";
allwinner,function = "ir1"; function = "ir1";
}; };
ir1_tx_pins_a: ir1@1 { ir1_tx_pins_a: ir1@1 {
allwinner,pins = "PB22"; pins = "PB22";
allwinner,function = "ir1"; function = "ir1";
}; };
mmc0_pins_a: mmc0@0 { mmc0_pins_a: mmc0@0 {
allwinner,pins = "PF0", "PF1", "PF2", pins = "PF0", "PF1", "PF2",
"PF3", "PF4", "PF5"; "PF3", "PF4", "PF5";
allwinner,function = "mmc0"; function = "mmc0";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc0_cd_pin_reference_design: mmc0_cd_pin@0 { mmc0_cd_pin_reference_design: mmc0_cd_pin@0 {
allwinner,pins = "PH1"; pins = "PH1";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc2_pins_a: mmc2@0 { mmc2_pins_a: mmc2@0 {
allwinner,pins = "PC6", "PC7", "PC8", pins = "PC6", "PC7", "PC8",
"PC9", "PC10", "PC11"; "PC9", "PC10", "PC11";
allwinner,function = "mmc2"; function = "mmc2";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc3_pins_a: mmc3@0 { mmc3_pins_a: mmc3@0 {
allwinner,pins = "PI4", "PI5", "PI6", pins = "PI4", "PI5", "PI6",
"PI7", "PI8", "PI9"; "PI7", "PI8", "PI9";
allwinner,function = "mmc3"; function = "mmc3";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
ps20_pins_a: ps20@0 { ps20_pins_a: ps20@0 {
allwinner,pins = "PI20", "PI21"; pins = "PI20", "PI21";
allwinner,function = "ps2"; function = "ps2";
}; };
ps21_pins_a: ps21@0 { ps21_pins_a: ps21@0 {
allwinner,pins = "PH12", "PH13"; pins = "PH12", "PH13";
allwinner,function = "ps2"; function = "ps2";
}; };
pwm0_pins_a: pwm0@0 { pwm0_pins_a: pwm0@0 {
allwinner,pins = "PB2"; pins = "PB2";
allwinner,function = "pwm"; function = "pwm";
}; };
pwm1_pins_a: pwm1@0 { pwm1_pins_a: pwm1@0 {
allwinner,pins = "PI3"; pins = "PI3";
allwinner,function = "pwm"; function = "pwm";
}; };
spdif_tx_pins_a: spdif@0 { spdif_tx_pins_a: spdif@0 {
allwinner,pins = "PB13"; pins = "PB13";
allwinner,function = "spdif"; function = "spdif";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
spi0_pins_a: spi0@0 { spi0_pins_a: spi0@0 {
allwinner,pins = "PI11", "PI12", "PI13"; pins = "PI11", "PI12", "PI13";
allwinner,function = "spi0"; function = "spi0";
}; };
spi0_cs0_pins_a: spi0_cs0@0 { spi0_cs0_pins_a: spi0_cs0@0 {
allwinner,pins = "PI10"; pins = "PI10";
allwinner,function = "spi0"; function = "spi0";
}; };
spi0_cs1_pins_a: spi0_cs1@0 { spi0_cs1_pins_a: spi0_cs1@0 {
allwinner,pins = "PI14"; pins = "PI14";
allwinner,function = "spi0"; function = "spi0";
}; };
spi1_pins_a: spi1@0 { spi1_pins_a: spi1@0 {
allwinner,pins = "PI17", "PI18", "PI19"; pins = "PI17", "PI18", "PI19";
allwinner,function = "spi1"; function = "spi1";
}; };
spi1_cs0_pins_a: spi1_cs0@0 { spi1_cs0_pins_a: spi1_cs0@0 {
allwinner,pins = "PI16"; pins = "PI16";
allwinner,function = "spi1"; function = "spi1";
}; };
spi2_pins_a: spi2@0 { spi2_pins_a: spi2@0 {
allwinner,pins = "PC20", "PC21", "PC22"; pins = "PC20", "PC21", "PC22";
allwinner,function = "spi2"; function = "spi2";
}; };
spi2_pins_b: spi2@1 { spi2_pins_b: spi2@1 {
allwinner,pins = "PB15", "PB16", "PB17"; pins = "PB15", "PB16", "PB17";
allwinner,function = "spi2"; function = "spi2";
}; };
spi2_cs0_pins_a: spi2_cs0@0 { spi2_cs0_pins_a: spi2_cs0@0 {
allwinner,pins = "PC19"; pins = "PC19";
allwinner,function = "spi2"; function = "spi2";
}; };
spi2_cs0_pins_b: spi2_cs0@1 { spi2_cs0_pins_b: spi2_cs0@1 {
allwinner,pins = "PB14"; pins = "PB14";
allwinner,function = "spi2"; function = "spi2";
}; };
uart0_pins_a: uart0@0 { uart0_pins_a: uart0@0 {
allwinner,pins = "PB22", "PB23"; pins = "PB22", "PB23";
allwinner,function = "uart0"; function = "uart0";
}; };
uart2_pins_a: uart2@0 { uart2_pins_a: uart2@0 {
allwinner,pins = "PI16", "PI17", "PI18", "PI19"; pins = "PI16", "PI17", "PI18", "PI19";
allwinner,function = "uart2"; function = "uart2";
}; };
uart3_pins_a: uart3@0 { uart3_pins_a: uart3@0 {
allwinner,pins = "PG6", "PG7", "PG8", "PG9"; pins = "PG6", "PG7", "PG8", "PG9";
allwinner,function = "uart3"; function = "uart3";
}; };
uart3_pins_b: uart3@1 { uart3_pins_b: uart3@1 {
allwinner,pins = "PH0", "PH1"; pins = "PH0", "PH1";
allwinner,function = "uart3"; function = "uart3";
}; };
uart4_pins_a: uart4@0 { uart4_pins_a: uart4@0 {
allwinner,pins = "PG10", "PG11"; pins = "PG10", "PG11";
allwinner,function = "uart4"; function = "uart4";
}; };
uart4_pins_b: uart4@1 { uart4_pins_b: uart4@1 {
allwinner,pins = "PH4", "PH5"; pins = "PH4", "PH5";
allwinner,function = "uart4"; function = "uart4";
}; };
uart5_pins_a: uart5@0 { uart5_pins_a: uart5@0 {
allwinner,pins = "PI10", "PI11"; pins = "PI10", "PI11";
allwinner,function = "uart5"; function = "uart5";
}; };
uart6_pins_a: uart6@0 { uart6_pins_a: uart6@0 {
allwinner,pins = "PI12", "PI13"; pins = "PI12", "PI13";
allwinner,function = "uart6"; function = "uart6";
}; };
uart7_pins_a: uart7@0 { uart7_pins_a: uart7@0 {
allwinner,pins = "PI20", "PI21"; pins = "PI20", "PI21";
allwinner,function = "uart7"; function = "uart7";
}; };
}; };
......
...@@ -274,69 +274,69 @@ pio: pinctrl@01c20800 { ...@@ -274,69 +274,69 @@ pio: pinctrl@01c20800 {
#gpio-cells = <3>; #gpio-cells = <3>;
uart0_pins_a: uart0@0 { uart0_pins_a: uart0@0 {
allwinner,pins = "PF2", "PF4"; pins = "PF2", "PF4";
allwinner,function = "uart0"; function = "uart0";
}; };
uart1_pins_a: uart1@0 { uart1_pins_a: uart1@0 {
allwinner,pins = "PG6", "PG7"; pins = "PG6", "PG7";
allwinner,function = "uart1"; function = "uart1";
}; };
uart1_pins_cts_rts_a: uart1-cts-rts@0 { uart1_pins_cts_rts_a: uart1-cts-rts@0 {
allwinner,pins = "PG8", "PG9"; pins = "PG8", "PG9";
allwinner,function = "uart1"; function = "uart1";
}; };
mmc0_pins_a: mmc0@0 { mmc0_pins_a: mmc0@0 {
allwinner,pins = "PF0", "PF1", "PF2", pins = "PF0", "PF1", "PF2",
"PF3", "PF4", "PF5"; "PF3", "PF4", "PF5";
allwinner,function = "mmc0"; function = "mmc0";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc1_pins_a: mmc1@0 { mmc1_pins_a: mmc1@0 {
allwinner,pins = "PG0", "PG1", "PG2", pins = "PG0", "PG1", "PG2",
"PG3", "PG4", "PG5"; "PG3", "PG4", "PG5";
allwinner,function = "mmc1"; function = "mmc1";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc2_8bit_pins: mmc2_8bit { mmc2_8bit_pins: mmc2_8bit {
allwinner,pins = "PC5", "PC6", "PC8", pins = "PC5", "PC6", "PC8",
"PC9", "PC10", "PC11", "PC9", "PC10", "PC11",
"PC12", "PC13", "PC14", "PC12", "PC13", "PC14",
"PC15", "PC16"; "PC15", "PC16";
allwinner,function = "mmc2"; function = "mmc2";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
pwm0_pins: pwm0 { pwm0_pins: pwm0 {
allwinner,pins = "PH0"; pins = "PH0";
allwinner,function = "pwm0"; function = "pwm0";
}; };
i2c0_pins_a: i2c0@0 { i2c0_pins_a: i2c0@0 {
allwinner,pins = "PH2", "PH3"; pins = "PH2", "PH3";
allwinner,function = "i2c0"; function = "i2c0";
}; };
i2c1_pins_a: i2c1@0 { i2c1_pins_a: i2c1@0 {
allwinner,pins = "PH4", "PH5"; pins = "PH4", "PH5";
allwinner,function = "i2c1"; function = "i2c1";
}; };
i2c2_pins_a: i2c2@0 { i2c2_pins_a: i2c2@0 {
allwinner,pins = "PE12", "PE13"; pins = "PE12", "PE13";
allwinner,function = "i2c2"; function = "i2c2";
}; };
lcd_rgb666_pins: lcd-rgb666@0 { lcd_rgb666_pins: lcd-rgb666@0 {
allwinner,pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7",
"PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15",
"PD18", "PD19", "PD20", "PD21", "PD22", "PD23", "PD18", "PD19", "PD20", "PD21", "PD22", "PD23",
"PD24", "PD25", "PD26", "PD27"; "PD24", "PD25", "PD26", "PD27";
allwinner,function = "lcd0"; function = "lcd0";
}; };
}; };
...@@ -568,15 +568,15 @@ r_pio: pinctrl@01f02c00 { ...@@ -568,15 +568,15 @@ r_pio: pinctrl@01f02c00 {
#gpio-cells = <3>; #gpio-cells = <3>;
r_rsb_pins: r_rsb { r_rsb_pins: r_rsb {
allwinner,pins = "PL0", "PL1"; pins = "PL0", "PL1";
allwinner,function = "s_rsb"; function = "s_rsb";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
r_uart_pins_a: r_uart@0 { r_uart_pins_a: r_uart@0 {
allwinner,pins = "PL2", "PL3"; pins = "PL2", "PL3";
allwinner,function = "s_uart"; function = "s_uart";
}; };
}; };
......
...@@ -115,9 +115,9 @@ &mmc0 { ...@@ -115,9 +115,9 @@ &mmc0 {
&pio { &pio {
mmc0_cd_pin_evb: mmc0_cd_pin@0 { mmc0_cd_pin_evb: mmc0_cd_pin@0 {
allwinner,pins = "PB4"; pins = "PB4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -86,13 +86,13 @@ esp8089: sdio_wifi@1 { ...@@ -86,13 +86,13 @@ esp8089: sdio_wifi@1 {
}; };
&mmc1_pins_a { &mmc1_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&r_pio { &r_pio {
wifi_pwrseq_pin_mid2407: wifi_pwrseq_pin@0 { wifi_pwrseq_pin_mid2407: wifi_pwrseq_pin@0 {
allwinner,pins = "PL6"; pins = "PL6";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -79,13 +79,13 @@ esp8089: sdio_wifi@1 { ...@@ -79,13 +79,13 @@ esp8089: sdio_wifi@1 {
}; };
&mmc1_pins_a { &mmc1_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&r_pio { &r_pio {
wifi_pwrseq_pin_mid2809: wifi_pwrseq_pin@0 { wifi_pwrseq_pin_mid2809: wifi_pwrseq_pin@0 {
allwinner,pins = "PL6"; pins = "PL6";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -71,7 +71,7 @@ home { ...@@ -71,7 +71,7 @@ home {
}; };
&mmc1_pins_a { &mmc1_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&mmc1 { &mmc1 {
...@@ -89,9 +89,9 @@ rtl8723bs: sdio_wifi@1 { ...@@ -89,9 +89,9 @@ rtl8723bs: sdio_wifi@1 {
&r_pio { &r_pio {
led_pin_d978: led_pin_d978@0 { led_pin_d978: led_pin_d978@0 {
allwinner,pins = "PL5"; pins = "PL5";
allwinner,function = "gpio_out"; function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
}; };
}; };
......
...@@ -92,18 +92,18 @@ &ohci0 { ...@@ -92,18 +92,18 @@ &ohci0 {
&pio { &pio {
led_pin_olinuxino: led_pins@0 { led_pin_olinuxino: led_pins@0 {
allwinner,pins = "PB7"; pins = "PB7";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_olinuxino: mmc0_cd_pin@0 { mmc0_cd_pin_olinuxino: mmc0_cd_pin@0 {
allwinner,pins = "PB4"; pins = "PB4";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PB3"; pins = "PB3";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
}; };
......
...@@ -115,9 +115,9 @@ &mmc2 { ...@@ -115,9 +115,9 @@ &mmc2 {
&mmc2_8bit_pins { &mmc2_8bit_pins {
/* Increase drive strength for DDR modes */ /* Increase drive strength for DDR modes */
allwinner,drive = <SUN4I_PINCTRL_40_MA>; drive-strength = <40>;
/* eMMC is missing pull-ups */ /* eMMC is missing pull-ups */
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&ohci0 { &ohci0 {
...@@ -126,9 +126,9 @@ &ohci0 { ...@@ -126,9 +126,9 @@ &ohci0 {
&pio { &pio {
mmc0_cd_pin_sina33: mmc0_cd_pin@0 { mmc0_cd_pin_sina33: mmc0_cd_pin@0 {
allwinner,pins = "PB4"; pins = "PB4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -238,8 +238,8 @@ &pio { ...@@ -238,8 +238,8 @@ &pio {
<GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
uart0_pins_b: uart0@1 { uart0_pins_b: uart0@1 {
allwinner,pins = "PB0", "PB1"; pins = "PB0", "PB1";
allwinner,function = "uart0"; function = "uart0";
}; };
}; };
......
...@@ -167,20 +167,20 @@ pio: pinctrl@01c20800 { ...@@ -167,20 +167,20 @@ pio: pinctrl@01c20800 {
#gpio-cells = <3>; #gpio-cells = <3>;
mmc0_pins_a: mmc0@0 { mmc0_pins_a: mmc0@0 {
allwinner,pins = "PF0", "PF1", "PF2", pins = "PF0", "PF1", "PF2",
"PF3", "PF4", "PF5"; "PF3", "PF4", "PF5";
allwinner,function = "mmc0"; function = "mmc0";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
uart0_pins_a: uart0@0 { uart0_pins_a: uart0@0 {
allwinner,pins = "PF2", "PF4"; pins = "PF2", "PF4";
allwinner,function = "uart0"; function = "uart0";
}; };
uart0_pins_b: uart0@1 { uart0_pins_b: uart0@1 {
allwinner,pins = "PB9", "PB10"; pins = "PB9", "PB10";
allwinner,function = "uart0"; function = "uart0";
}; };
}; };
......
...@@ -156,18 +156,18 @@ &ohci2 { ...@@ -156,18 +156,18 @@ &ohci2 {
&r_pio { &r_pio {
pwr_led_bpi_m2p: led_pins@0 { pwr_led_bpi_m2p: led_pins@0 {
allwinner,pins = "PL10"; pins = "PL10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
sw_r_bpi_m2p: key_pins@0 { sw_r_bpi_m2p: key_pins@0 {
allwinner,pins = "PL3"; pins = "PL3";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
wifi_en_bpi_m2p: wifi_en_pin { wifi_en_bpi_m2p: wifi_en_pin {
allwinner,pins = "PL7"; pins = "PL7";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -110,20 +110,20 @@ &ohci3 { ...@@ -110,20 +110,20 @@ &ohci3 {
&pio { &pio {
leds_npi: led_pins@0 { leds_npi: led_pins@0 {
allwinner,pins = "PA10"; pins = "PA10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_npi: led_pins@0 { leds_r_npi: led_pins@0 {
allwinner,pins = "PL10"; pins = "PL10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
sw_r_npi: key_pins@0 { sw_r_npi: key_pins@0 {
allwinner,pins = "PL3"; pins = "PL3";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
}; };
......
...@@ -145,25 +145,25 @@ rtl8189: sdio_wifi@1 { ...@@ -145,25 +145,25 @@ rtl8189: sdio_wifi@1 {
&pio { &pio {
leds_opc: led_pins@0 { leds_opc: led_pins@0 {
allwinner,pins = "PA15"; pins = "PA15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_opc: led_pins@0 { leds_r_opc: led_pins@0 {
allwinner,pins = "PL10"; pins = "PL10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
sw_r_opc: key_pins@0 { sw_r_opc: key_pins@0 {
allwinner,pins = "PL3", "PL4"; pins = "PL3", "PL4";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
wifi_pwrseq_pin_orangepi: wifi_pwrseq_pin@0 { wifi_pwrseq_pin_orangepi: wifi_pwrseq_pin@0 {
allwinner,pins = "PL7"; pins = "PL7";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
...@@ -197,7 +197,7 @@ &uart3 { ...@@ -197,7 +197,7 @@ &uart3 {
}; };
&usb1_vbus_pin_a { &usb1_vbus_pin_a {
allwinner,pins = "PG13"; pins = "PG13";
}; };
&usbphy { &usbphy {
......
...@@ -143,20 +143,20 @@ &ohci2 { ...@@ -143,20 +143,20 @@ &ohci2 {
&pio { &pio {
leds_opc: led_pins@0 { leds_opc: led_pins@0 {
allwinner,pins = "PA15"; pins = "PA15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_opc: led_pins@0 { leds_r_opc: led_pins@0 {
allwinner,pins = "PL10"; pins = "PL10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
sw_r_opc: key_pins@0 { sw_r_opc: key_pins@0 {
allwinner,pins = "PL3"; pins = "PL3";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
}; };
......
...@@ -110,20 +110,20 @@ &ohci1 { ...@@ -110,20 +110,20 @@ &ohci1 {
&pio { &pio {
leds_opc: led_pins@0 { leds_opc: led_pins@0 {
allwinner,pins = "PA15"; pins = "PA15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_opc: led_pins@0 { leds_r_opc: led_pins@0 {
allwinner,pins = "PL10"; pins = "PL10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
sw_r_opc: key_pins@0 { sw_r_opc: key_pins@0 {
allwinner,pins = "PL3"; pins = "PL3";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
}; };
......
...@@ -82,7 +82,7 @@ &mmc2 { ...@@ -82,7 +82,7 @@ &mmc2 {
&mmc2_8bit_pins { &mmc2_8bit_pins {
/* Increase drive strength for DDR modes */ /* Increase drive strength for DDR modes */
allwinner,drive = <SUN4I_PINCTRL_40_MA>; drive-strength = <40>;
/* eMMC is missing pull-ups */ /* eMMC is missing pull-ups */
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
...@@ -132,20 +132,20 @@ &ohci3 { ...@@ -132,20 +132,20 @@ &ohci3 {
&pio { &pio {
leds_opc: led_pins@0 { leds_opc: led_pins@0 {
allwinner,pins = "PA15"; pins = "PA15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
leds_r_opc: led_pins@0 { leds_r_opc: led_pins@0 {
allwinner,pins = "PL10"; pins = "PL10";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
sw_r_opc: key_pins@0 { sw_r_opc: key_pins@0 {
allwinner,pins = "PL3"; pins = "PL3";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
}; };
......
...@@ -76,15 +76,15 @@ &mmc2 { ...@@ -76,15 +76,15 @@ &mmc2 {
&mmc2_8bit_pins { &mmc2_8bit_pins {
/* Increase drive strength for DDR modes */ /* Increase drive strength for DDR modes */
allwinner,drive = <SUN4I_PINCTRL_40_MA>; drive-strength = <40>;
/* eMMC is missing pull-ups */ /* eMMC is missing pull-ups */
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&pio { &pio {
usb3_vbus_pin_a: usb3_vbus_pin@0 { usb3_vbus_pin_a: usb3_vbus_pin@0 {
allwinner,pins = "PG11"; pins = "PG11";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -329,82 +329,82 @@ pio: pinctrl@01c20800 { ...@@ -329,82 +329,82 @@ pio: pinctrl@01c20800 {
#interrupt-cells = <3>; #interrupt-cells = <3>;
i2c0_pins: i2c0 { i2c0_pins: i2c0 {
allwinner,pins = "PA11", "PA12"; pins = "PA11", "PA12";
allwinner,function = "i2c0"; function = "i2c0";
}; };
i2c1_pins: i2c1 { i2c1_pins: i2c1 {
allwinner,pins = "PA18", "PA19"; pins = "PA18", "PA19";
allwinner,function = "i2c1"; function = "i2c1";
}; };
i2c2_pins: i2c2 { i2c2_pins: i2c2 {
allwinner,pins = "PE12", "PE13"; pins = "PE12", "PE13";
allwinner,function = "i2c2"; function = "i2c2";
}; };
mmc0_pins_a: mmc0@0 { mmc0_pins_a: mmc0@0 {
allwinner,pins = "PF0", "PF1", "PF2", "PF3", pins = "PF0", "PF1", "PF2", "PF3",
"PF4", "PF5"; "PF4", "PF5";
allwinner,function = "mmc0"; function = "mmc0";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc0_cd_pin: mmc0_cd_pin@0 { mmc0_cd_pin: mmc0_cd_pin@0 {
allwinner,pins = "PF6"; pins = "PF6";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
mmc1_pins_a: mmc1@0 { mmc1_pins_a: mmc1@0 {
allwinner,pins = "PG0", "PG1", "PG2", "PG3", pins = "PG0", "PG1", "PG2", "PG3",
"PG4", "PG5"; "PG4", "PG5";
allwinner,function = "mmc1"; function = "mmc1";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc2_8bit_pins: mmc2_8bit { mmc2_8bit_pins: mmc2_8bit {
allwinner,pins = "PC5", "PC6", "PC8", pins = "PC5", "PC6", "PC8",
"PC9", "PC10", "PC11", "PC9", "PC10", "PC11",
"PC12", "PC13", "PC14", "PC12", "PC13", "PC14",
"PC15", "PC16"; "PC15", "PC16";
allwinner,function = "mmc2"; function = "mmc2";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
spi0_pins: spi0 { spi0_pins: spi0 {
allwinner,pins = "PC0", "PC1", "PC2", "PC3"; pins = "PC0", "PC1", "PC2", "PC3";
allwinner,function = "spi0"; function = "spi0";
}; };
spi1_pins: spi1 { spi1_pins: spi1 {
allwinner,pins = "PA15", "PA16", "PA14", "PA13"; pins = "PA15", "PA16", "PA14", "PA13";
allwinner,function = "spi1"; function = "spi1";
}; };
uart0_pins_a: uart0@0 { uart0_pins_a: uart0@0 {
allwinner,pins = "PA4", "PA5"; pins = "PA4", "PA5";
allwinner,function = "uart0"; function = "uart0";
}; };
uart1_pins: uart1 { uart1_pins: uart1 {
allwinner,pins = "PG6", "PG7"; pins = "PG6", "PG7";
allwinner,function = "uart1"; function = "uart1";
}; };
uart1_rts_cts_pins: uart1_rts_cts { uart1_rts_cts_pins: uart1_rts_cts {
allwinner,pins = "PG8", "PG9"; pins = "PG8", "PG9";
allwinner,function = "uart1"; function = "uart1";
}; };
uart2_pins: uart2 { uart2_pins: uart2 {
allwinner,pins = "PA0", "PA1"; pins = "PA0", "PA1";
allwinner,function = "uart2"; function = "uart2";
}; };
uart3_pins: uart3 { uart3_pins: uart3 {
allwinner,pins = "PA13", "PA14"; pins = "PA13", "PA14";
allwinner,function = "uart3"; function = "uart3";
}; };
}; };
...@@ -600,8 +600,8 @@ r_pio: pinctrl@01f02c00 { ...@@ -600,8 +600,8 @@ r_pio: pinctrl@01f02c00 {
#interrupt-cells = <3>; #interrupt-cells = <3>;
ir_pins_a: ir@0 { ir_pins_a: ir@0 {
allwinner,pins = "PL11"; pins = "PL11";
allwinner,function = "s_cir_rx"; function = "s_cir_rx";
}; };
}; };
}; };
......
...@@ -83,14 +83,14 @@ sdio_wifi: sdio_wifi@1 { ...@@ -83,14 +83,14 @@ sdio_wifi: sdio_wifi@1 {
}; };
&mmc1_pins_a { &mmc1_pins_a {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&r_pio { &r_pio {
wifi_pwrseq_pin_q8: wifi_pwrseq_pin@0 { wifi_pwrseq_pin_q8: wifi_pwrseq_pin@0 {
allwinner,pins = "PL6", "PL7", "PL11"; pins = "PL6", "PL7", "PL11";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -149,8 +149,8 @@ &mmc2 { ...@@ -149,8 +149,8 @@ &mmc2 {
}; };
&mmc2_8bit_pins { &mmc2_8bit_pins {
allwinner,drive = <SUN4I_PINCTRL_40_MA>; drive-strength = <40>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&ohci0 { &ohci0 {
...@@ -159,32 +159,32 @@ &ohci0 { ...@@ -159,32 +159,32 @@ &ohci0 {
&pio { &pio {
mmc0_cd_pin_parrot: mmc0_cd_pin@0 { mmc0_cd_pin_parrot: mmc0_cd_pin@0 {
allwinner,pins = "PD14"; pins = "PD14";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
led_pins_parrot: led_pins@0 { led_pins_parrot: led_pins@0 {
allwinner,pins = "PE16", "PE17"; pins = "PE16", "PE17";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_det: usb0_id_detect_pin@0 { usb0_id_det: usb0_id_detect_pin@0 {
allwinner,pins = "PD10"; pins = "PD10";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb1_vbus_pin_parrot: usb1_vbus_pin@0 { usb1_vbus_pin_parrot: usb1_vbus_pin@0 {
allwinner,pins = "PD12"; pins = "PD12";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
&r_pio { &r_pio {
wifi_reset_pin_parrot: wifi_reset_pin@0 { wifi_reset_pin_parrot: wifi_reset_pin@0 {
allwinner,pins = "PL6"; pins = "PL6";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -94,25 +94,25 @@ &mmc0 { ...@@ -94,25 +94,25 @@ &mmc0 {
&pio { &pio {
bl_en_pin: bl_en_pin@0 { bl_en_pin: bl_en_pin@0 {
allwinner,pins = "PH6"; pins = "PH6";
allwinner,function = "gpio_in"; function = "gpio_in";
}; };
mmc0_cd_pin: mmc0_cd_pin@0 { mmc0_cd_pin: mmc0_cd_pin@0 {
allwinner,pins = "PB4"; pins = "PB4";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
ts_power_pin: ts_power_pin@0 { ts_power_pin: ts_power_pin@0 {
allwinner,pins = "PH1"; pins = "PH1";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_id_detect_pin: usb0_id_detect_pin@0 { usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH8"; pins = "PH8";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -108,7 +108,7 @@ &mmc1 { ...@@ -108,7 +108,7 @@ &mmc1 {
}; };
&mmc1_pins { &mmc1_pins {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&mmc2 { &mmc2 {
...@@ -123,7 +123,7 @@ &mmc2 { ...@@ -123,7 +123,7 @@ &mmc2 {
&mmc2_8bit_pins { &mmc2_8bit_pins {
/* Increase drive strength for DDR modes */ /* Increase drive strength for DDR modes */
allwinner,drive = <SUN4I_PINCTRL_40_MA>; drive-strength = <40>;
}; };
&osc32k { &osc32k {
...@@ -133,14 +133,14 @@ &osc32k { ...@@ -133,14 +133,14 @@ &osc32k {
&pio { &pio {
led_pins_cubieboard4: led-pins@0 { led_pins_cubieboard4: led-pins@0 {
allwinner,pins = "PH6", "PH17"; pins = "PH6", "PH17";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_cubieboard4: mmc0_cd_pin@0 { mmc0_cd_pin_cubieboard4: mmc0_cd_pin@0 {
allwinner,pins = "PH18"; pins = "PH18";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
...@@ -150,8 +150,8 @@ &r_ir { ...@@ -150,8 +150,8 @@ &r_ir {
&r_pio { &r_pio {
wifi_en_pin_cubieboard4: wifi_en_pin@0 { wifi_en_pin_cubieboard4: wifi_en_pin@0 {
allwinner,pins = "PL2"; pins = "PL2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -150,7 +150,7 @@ &mmc1 { ...@@ -150,7 +150,7 @@ &mmc1 {
}; };
&mmc1_pins { &mmc1_pins {
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
&mmc2 { &mmc2 {
...@@ -165,7 +165,7 @@ &mmc2 { ...@@ -165,7 +165,7 @@ &mmc2 {
&mmc2_8bit_pins { &mmc2_8bit_pins {
/* Increase drive strength for DDR modes */ /* Increase drive strength for DDR modes */
allwinner,drive = <SUN4I_PINCTRL_40_MA>; drive-strength = <40>;
}; };
&ohci0 { &ohci0 {
...@@ -183,24 +183,24 @@ &osc32k { ...@@ -183,24 +183,24 @@ &osc32k {
&pio { &pio {
led_pins_optimus: led-pins@0 { led_pins_optimus: led-pins@0 {
allwinner,pins = "PH0", "PH1"; pins = "PH0", "PH1";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
mmc0_cd_pin_optimus: mmc0_cd_pin@0 { mmc0_cd_pin_optimus: mmc0_cd_pin@0 {
allwinner,pins = "PH18"; pins = "PH18";
allwinner,function = "gpio_in"; function = "gpio_in";
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
usb1_vbus_pin_optimus: usb1_vbus_pin@1 { usb1_vbus_pin_optimus: usb1_vbus_pin@1 {
allwinner,pins = "PH4"; pins = "PH4";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb3_vbus_pin_optimus: usb3_vbus_pin@1 { usb3_vbus_pin_optimus: usb3_vbus_pin@1 {
allwinner,pins = "PH5"; pins = "PH5";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
...@@ -210,13 +210,13 @@ &r_ir { ...@@ -210,13 +210,13 @@ &r_ir {
&r_pio { &r_pio {
led_r_pins_optimus: led-pins@1 { led_r_pins_optimus: led-pins@1 {
allwinner,pins = "PM15"; pins = "PM15";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
wifi_en_pin_optimus: wifi_en_pin@0 { wifi_en_pin_optimus: wifi_en_pin@0 {
allwinner,pins = "PL2"; pins = "PL2";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
...@@ -687,41 +687,41 @@ pio: pinctrl@06000800 { ...@@ -687,41 +687,41 @@ pio: pinctrl@06000800 {
#gpio-cells = <3>; #gpio-cells = <3>;
i2c3_pins_a: i2c3@0 { i2c3_pins_a: i2c3@0 {
allwinner,pins = "PG10", "PG11"; pins = "PG10", "PG11";
allwinner,function = "i2c3"; function = "i2c3";
}; };
mmc0_pins: mmc0 { mmc0_pins: mmc0 {
allwinner,pins = "PF0", "PF1" ,"PF2", "PF3", pins = "PF0", "PF1" ,"PF2", "PF3",
"PF4", "PF5"; "PF4", "PF5";
allwinner,function = "mmc0"; function = "mmc0";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc1_pins: mmc1 { mmc1_pins: mmc1 {
allwinner,pins = "PG0", "PG1" ,"PG2", "PG3", pins = "PG0", "PG1" ,"PG2", "PG3",
"PG4", "PG5"; "PG4", "PG5";
allwinner,function = "mmc1"; function = "mmc1";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
mmc2_8bit_pins: mmc2_8bit { mmc2_8bit_pins: mmc2_8bit {
allwinner,pins = "PC6", "PC7", "PC8", "PC9", pins = "PC6", "PC7", "PC8", "PC9",
"PC10", "PC11", "PC12", "PC10", "PC11", "PC12",
"PC13", "PC14", "PC15", "PC13", "PC14", "PC15",
"PC16"; "PC16";
allwinner,function = "mmc2"; function = "mmc2";
allwinner,drive = <SUN4I_PINCTRL_30_MA>; drive-strength = <30>;
}; };
uart0_pins_a: uart0@0 { uart0_pins_a: uart0@0 {
allwinner,pins = "PH12", "PH13"; pins = "PH12", "PH13";
allwinner,function = "uart0"; function = "uart0";
}; };
uart4_pins_a: uart4@0 { uart4_pins_a: uart4@0 {
allwinner,pins = "PG12", "PG13", "PG14", "PG15"; pins = "PG12", "PG13", "PG14", "PG15";
allwinner,function = "uart4"; function = "uart4";
}; };
}; };
...@@ -903,15 +903,15 @@ r_pio: pinctrl@08002c00 { ...@@ -903,15 +903,15 @@ r_pio: pinctrl@08002c00 {
#gpio-cells = <3>; #gpio-cells = <3>;
r_ir_pins: r_ir { r_ir_pins: r_ir {
allwinner,pins = "PL6"; pins = "PL6";
allwinner,function = "s_cir_rx"; function = "s_cir_rx";
}; };
r_rsb_pins: r_rsb { r_rsb_pins: r_rsb {
allwinner,pins = "PN0", "PN1"; pins = "PN0", "PN1";
allwinner,function = "s_rsb"; function = "s_rsb";
allwinner,drive = <SUN4I_PINCTRL_20_MA>; drive-strength = <20>;
allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; bias-pull-up;
}; };
}; };
......
...@@ -47,23 +47,23 @@ ...@@ -47,23 +47,23 @@
&pio { &pio {
ahci_pwr_pin_a: ahci_pwr_pin@0 { ahci_pwr_pin_a: ahci_pwr_pin@0 {
allwinner,pins = "PB8"; pins = "PB8";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb0_vbus_pin_a: usb0_vbus_pin@0 { usb0_vbus_pin_a: usb0_vbus_pin@0 {
allwinner,pins = "PB9"; pins = "PB9";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb1_vbus_pin_a: usb1_vbus_pin@0 { usb1_vbus_pin_a: usb1_vbus_pin@0 {
allwinner,pins = "PH6"; pins = "PH6";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
usb2_vbus_pin_a: usb2_vbus_pin@0 { usb2_vbus_pin_a: usb2_vbus_pin@0 {
allwinner,pins = "PH3"; pins = "PH3";
allwinner,function = "gpio_out"; function = "gpio_out";
}; };
}; };
......
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