sunxi: remove allwinner prefix in pinctrl nodes
Subsystems (2)
PATCH 1/3 sunxi: remove allwinner prefix in pinctrl nodes
--- arch/arm/dts/sun4i-a10-a1000.dts | 16 +- arch/arm/dts/sun4i-a10-ba10-tvbox.dts | 2 +- arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts | 16 +- arch/arm/dts/sun4i-a10-cubieboard.dts | 16 +- arch/arm/dts/sun4i-a10-dserve-dsrv9703c.dts | 48 ++-- arch/arm/dts/sun4i-a10-gemei-g9.dts | 8 +- arch/arm/dts/sun4i-a10-hackberry.dts | 16 +- arch/arm/dts/sun4i-a10-hyundai-a7hd.dts | 18 +- arch/arm/dts/sun4i-a10-inet1.dts | 32 +-- arch/arm/dts/sun4i-a10-inet97fv2.dts | 16 +- arch/arm/dts/sun4i-a10-inet9f-rev03.dts | 24 +- arch/arm/dts/sun4i-a10-jesurun-q5.dts | 16 +- arch/arm/dts/sun4i-a10-marsboard.dts | 16 +- arch/arm/dts/sun4i-a10-mini-xplus.dts | 2 +- arch/arm/dts/sun4i-a10-mk802.dts | 24 +- arch/arm/dts/sun4i-a10-olinuxino-lime.dts | 32 +-- arch/arm/dts/sun4i-a10-pcduino.dts | 24 +- arch/arm/dts/sun4i-a10-pcduino2.dts | 8 +- arch/arm/dts/sun4i-a10-pov-protab2-ips9.dts | 40 +-- arch/arm/dts/sun4i-a10.dtsi | 208 +++++++------- arch/arm/dts/sun50i-a64-pine64-plus-u-boot.dtsi | 8 +- arch/arm/dts/sun5i-a10s-auxtek-t003.dts | 20 +- arch/arm/dts/sun5i-a10s-auxtek-t004.dts | 26 +- arch/arm/dts/sun5i-a10s-mk802.dts | 24 +- arch/arm/dts/sun5i-a10s-olinuxino-micro.dts | 42 +-- arch/arm/dts/sun5i-a10s-r7-tv-dongle.dts | 24 +- arch/arm/dts/sun5i-a10s-wobo-i5.dts | 26 +- arch/arm/dts/sun5i-a10s.dtsi | 56 ++-- arch/arm/dts/sun5i-a13-empire-electronix-d709.dts | 26 +- arch/arm/dts/sun5i-a13-hsg-h702.dts | 26 +- arch/arm/dts/sun5i-a13-inet-98v-rev2.dts | 26 +- arch/arm/dts/sun5i-a13-olinuxino-micro.dts | 48 ++-- arch/arm/dts/sun5i-a13-olinuxino.dts | 42 +-- arch/arm/dts/sun5i-a13-utoo-p66.dts | 20 +- arch/arm/dts/sun5i-a13.dtsi | 24 +- arch/arm/dts/sun5i-gr8-chip-pro.dts | 16 +- arch/arm/dts/sun5i-gr8.dtsi | 160 +++++------ arch/arm/dts/sun5i-q8-common.dtsi | 32 +-- arch/arm/dts/sun5i-r8-chip.dts | 26 +- arch/arm/dts/sun5i-reference-design-tablet.dtsi | 40 +-- arch/arm/dts/sun5i.dtsi | 64 ++--- arch/arm/dts/sun6i-a31-app4-evb1.dts | 8 +- arch/arm/dts/sun6i-a31-colombus.dts | 26 +- arch/arm/dts/sun6i-a31-hummingbird.dts | 28 +- arch/arm/dts/sun6i-a31-i7.dts | 24 +- arch/arm/dts/sun6i-a31-m9.dts | 24 +- arch/arm/dts/sun6i-a31-mele-a1000g-quad.dts | 24 +- arch/arm/dts/sun6i-a31.dtsi | 112 ++++---- arch/arm/dts/sun6i-a31s-primo81.dts | 24 +- arch/arm/dts/sun6i-a31s-sina31s.dts | 16 +- arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 36 +-- .../arm/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts | 10 +- arch/arm/dts/sun6i-reference-design-tablet.dtsi | 16 +- arch/arm/dts/sun7i-a20-bananapi.dts | 32 +-- arch/arm/dts/sun7i-a20-bananapro.dts | 48 ++-- arch/arm/dts/sun7i-a20-cubieboard2.dts | 16 +- arch/arm/dts/sun7i-a20-cubietruck.dts | 50 ++-- arch/arm/dts/sun7i-a20-hummingbird.dts | 32 +-- arch/arm/dts/sun7i-a20-i12-tvbox.dts | 34 +-- arch/arm/dts/sun7i-a20-itead-ibox.dts | 8 +- arch/arm/dts/sun7i-a20-lamobo-r1.dts | 36 +-- arch/arm/dts/sun7i-a20-m3.dts | 8 +- arch/arm/dts/sun7i-a20-mk808c.dts | 16 +- arch/arm/dts/sun7i-a20-olimex-som-evb.dts | 40 +-- arch/arm/dts/sun7i-a20-olinuxino-lime.dts | 32 +-- arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts | 8 +- arch/arm/dts/sun7i-a20-olinuxino-lime2.dts | 40 +-- arch/arm/dts/sun7i-a20-olinuxino-micro.dts | 32 +-- arch/arm/dts/sun7i-a20-orangepi-mini.dts | 56 ++-- arch/arm/dts/sun7i-a20-orangepi.dts | 48 ++-- arch/arm/dts/sun7i-a20-pcduino3-nano.dts | 32 +-- arch/arm/dts/sun7i-a20-pcduino3.dts | 26 +- arch/arm/dts/sun7i-a20-primo73.dts | 2 +- arch/arm/dts/sun7i-a20-wexler-tab7200.dts | 32 +-- arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts | 16 +- arch/arm/dts/sun7i-a20.dtsi | 320 ++++++++++----------- arch/arm/dts/sun8i-a23-evb.dts | 8 +- arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts | 10 +- arch/arm/dts/sun8i-a23-polaroid-mid2809pxe04.dts | 10 +- arch/arm/dts/sun8i-a33-inet-d978-rev2.dts | 10 +- arch/arm/dts/sun8i-a33-olinuxino.dts | 24 +- arch/arm/dts/sun8i-a33-sinlinx-sina33.dts | 12 +- arch/arm/dts/sun8i-a83t.dtsi | 24 +- arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts | 24 +- arch/arm/dts/sun8i-h3-orangepi-2.dts | 34 +-- arch/arm/dts/sun8i-h3-orangepi-lite.dts | 24 +- arch/arm/dts/sun8i-h3-orangepi-one.dts | 24 +- arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts | 4 +- arch/arm/dts/sun8i-h3-orangepi-pc.dts | 24 +- arch/arm/dts/sun8i-h3-orangepi-plus.dts | 20 +- arch/arm/dts/sun8i-h3-orangepi-plus2e.dts | 8 +- arch/arm/dts/sun8i-h3.dtsi | 64 ++--- arch/arm/dts/sun8i-q8-common.dtsi | 10 +- arch/arm/dts/sun8i-r16-parrot.dts | 44 +-- arch/arm/dts/sun8i-reference-design-tablet.dtsi | 32 +-- arch/arm/dts/sun9i-a80-cubieboard4.dts | 18 +- arch/arm/dts/sun9i-a80-optimus.dts | 42 +-- arch/arm/dts/sun9i-a80.dtsi | 64 ++--- arch/arm/dts/sunxi-common-regulators.dtsi | 32 +-- 99 files changed, 1618 insertions(+), 1618 deletions(-)
arch/arm/dts/sun4i-a10-a1000.dts +8 -8
@@ -186,17 +186,17 @@ &pio { emac_power_pin_a1000: emac_power_pin at 0 { - allwinner,pins = "PH15"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH15"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; led_pins_a1000: led_pins at 0 { - allwinner,pins = "PH10", "PH20"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH10", "PH20"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun4i-a10-ba10-tvbox.dts +1 -1
@@ -131,7 +131,7 @@ &pio { usb2_vbus_pin_a: usb2_vbus_pin at 0 { - allwinner,pins = "PH12"; + pins = "PH12"; }; };
arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts +8 -8
@@ -142,17 +142,17 @@ &pio { usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PH5"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PH5"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; };
arch/arm/dts/sun4i-a10-cubieboard.dts +8 -8
@@ -165,17 +165,17 @@ &pio { led_pins_cubieboard: led_pins at 0 { - allwinner,pins = "PH20", "PH21"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_20_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH20", "PH21"; + function = "gpio_out"; + drive-strength = <20>; + bias-disable; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
arch/arm/dts/sun4i-a10-dserve-dsrv9703c.dts +24 -24
69 lines not on this page · raw message
arch/arm/dts/sun4i-a10-gemei-g9.dts +4 -4
@@ -156,10 +156,10 @@ &pio { codec_pa_pin: codec_pa_pin at 0 { - allwinner,pins = "PH15"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH15"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun4i-a10-hackberry.dts +8 -8
@@ -129,17 +129,17 @@ pinctrl-0 = <&hackberry_hogs>; hackberry_hogs: hogs at 0 { - allwinner,pins = "PH19"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH19"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; usb2_vbus_pin_hackberry: usb2_vbus_pin at 0 { - allwinner,pins = "PH12"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH12"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun4i-a10-hyundai-a7hd.dts +9 -9
@@ -93,17 +93,17 @@ &pio { usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PH5"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PH5"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; };
@@ -123,7 +123,7 @@ }; &usb2_vbus_pin_a { - allwinner,pins = "PH6"; + pins = "PH6"; }; &usb_otg {
arch/arm/dts/sun4i-a10-inet1.dts +16 -16
@@ -180,31 +180,31 @@ &pio { bl_en_pin_inet: bl_en_pin at 0 { - allwinner,pins = "PH7"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH7"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; touchscreen_wake_pin: touchscreen_wake_pin at 0 { - allwinner,pins = "PB13"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB13"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PH5"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PH5"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; };
arch/arm/dts/sun4i-a10-inet97fv2.dts +8 -8
@@ -161,17 +161,17 @@ &pio { usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PH5"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PH5"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; };
arch/arm/dts/sun4i-a10-inet9f-rev03.dts +12 -12
@@ -320,28 +320,28 @@ &pio { key_pins_inet9f: key_pins at 0 { - allwinner,pins = "PA0", "PA1", "PA3", "PA4", + pins = "PA0", "PA1", "PA3", "PA4", "PA5", "PA6", "PA8", "PA9", "PA11", "PA12", "PA13", "PA14", "PA15", "PA16", "PA17", "PH22", "PH23", "PH24", "PH25", "PH26"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PH5"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PH5"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; };
arch/arm/dts/sun4i-a10-jesurun-q5.dts +8 -8
@@ -163,17 +163,17 @@ &pio { emac_power_pin_q5: emac_power_pin at 0 { - allwinner,pins = "PH19"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH19"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; led_pins_q5: led_pins at 0 { - allwinner,pins = "PH20"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH20"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun4i-a10-marsboard.dts +8 -8
@@ -164,17 +164,17 @@ &pio { led_pins_marsboard: led_pins at 0 { - allwinner,pins = "PB5", "PB6", "PB7", "PB8"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB5", "PB6", "PB7", "PB8"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
arch/arm/dts/sun4i-a10-mini-xplus.dts +1 -1
@@ -93,7 +93,7 @@ &ir0_rx_pins_a { /* The ir receiver is not always populated */ - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &mmc0 {
arch/arm/dts/sun4i-a10-mk802.dts +12 -12
@@ -91,24 +91,24 @@ &pio { usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-disable; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PH5"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH5"; + function = "gpio_in"; + drive-strength = <10>; + bias-disable; }; usb2_vbus_pin_mk802: usb2_vbus_pin at 0 { - allwinner,pins = "PH12"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH12"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun4i-a10-olinuxino-lime.dts +16 -16
@@ -168,31 +168,31 @@ &pio { ahci_pwr_pin_olinuxinolime: ahci_pwr_pin at 1 { - allwinner,pins = "PC3"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PC3"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; led_pins_olinuxinolime: led_pins at 0 { - allwinner,pins = "PH2"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_20_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH2"; + function = "gpio_out"; + drive-strength = <20>; + bias-disable; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PH5"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PH5"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; };
arch/arm/dts/sun4i-a10-pcduino.dts +12 -12
@@ -170,24 +170,24 @@ &pio { led_pins_pcduino: led_pins at 0 { - allwinner,pins = "PH15", "PH16"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH15", "PH16"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; key_pins_pcduino: key_pins at 0 { - allwinner,pins = "PH17", "PH18", "PH19"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH17", "PH18", "PH19"; + function = "gpio_in"; + drive-strength = <10>; + bias-disable; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
arch/arm/dts/sun4i-a10-pcduino2.dts +4 -4
@@ -57,10 +57,10 @@ &pio { usb2_vbus_pin_pcduino2: usb2_vbus_pin at 0 { - allwinner,pins = "PD2"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PD2"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun4i-a10-pov-protab2-ips9.dts +20 -20
@@ -171,38 +171,38 @@ &pio { bl_en_pin_protab: bl_en_pin at 0 { - allwinner,pins = "PH7"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH7"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; codec_pa_pin: codec_pa_pin at 0 { - allwinner,pins = "PH15"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH15"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; touchscreen_pins: touchscreen_pins at 0 { - allwinner,pins = "PA5", "PB13"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PA5", "PB13"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PH5"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PH5"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; };
arch/arm/dts/sun4i-a10.dtsi +104 -104
294 lines not on this page · raw message
arch/arm/dts/sun50i-a64-pine64-plus-u-boot.dtsi +4 -4
@@ -30,20 +30,20 @@ &pio { rmii_pins: rmii_pins { - allwinner,pins = "PD10", "PD11", "PD13", "PD14", + pins = "PD10", "PD11", "PD13", "PD14", "PD17", "PD18", "PD19", "PD20", "PD22", "PD23"; - allwinner,function = "emac"; + function = "emac"; allwinner,drive = <3>; allwinner,pull = <0>; }; rgmii_pins: rgmii_pins { - allwinner,pins = "PD8", "PD9", "PD10", "PD11", + pins = "PD8", "PD9", "PD10", "PD11", "PD12", "PD13", "PD15", "PD16", "PD17", "PD18", "PD19", "PD20", "PD21", "PD22", "PD23"; - allwinner,function = "emac"; + function = "emac"; allwinner,drive = <3>; allwinner,pull = <0>; };
arch/arm/dts/sun5i-a10s-auxtek-t003.dts +10 -10
@@ -109,17 +109,17 @@ &pio { mmc0_cd_pin_t003: mmc0_cd_pin at 0 { - allwinner,pins = "PG1"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG1"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; led_pins_t003: led_pins at 0 { - allwinner,pins = "PB2"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_20_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB2"; + function = "gpio_out"; + drive-strength = <20>; + bias-disable; }; };
@@ -140,11 +140,11 @@ }; &usb0_vbus_pin_a { - allwinner,pins = "PG13"; + pins = "PG13"; }; &usb1_vbus_pin_a { - allwinner,pins = "PB10"; + pins = "PB10"; }; &usb_otg {
arch/arm/dts/sun5i-a10s-auxtek-t004.dts +13 -13
@@ -126,24 +126,24 @@ &pio { mmc0_cd_pin_t004: mmc0_cd_pin at 0 { - allwinner,pins = "PG1"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG1"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; mmc1_vcc_en_pin_t004: mmc1_vcc_en_pin at 0 { - allwinner,pins = "PB18"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB18"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; led_pins_t004: led_pins at 0 { - allwinner,pins = "PB2"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_20_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB2"; + function = "gpio_out"; + drive-strength = <20>; + bias-disable; }; };
@@ -159,7 +159,7 @@ }; &usb1_vbus_pin_a { - allwinner,pins = "PG13"; + pins = "PG13"; }; &usbphy {
arch/arm/dts/sun5i-a10s-mk802.dts +12 -12
@@ -116,24 +116,24 @@ &pio { led_pins_mk802: led_pins at 0 { - allwinner,pins = "PB2"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB2"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc0_cd_pin_mk802: mmc0_cd_pin at 0 { - allwinner,pins = "PG1"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG1"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb1_vbus_pin_mk802: usb1_vbus_pin at 0 { - allwinner,pins = "PB10"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB10"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun5i-a10s-olinuxino-micro.dts +21 -21
66 lines not on this page · raw message
arch/arm/dts/sun5i-a10s-r7-tv-dongle.dts +12 -12
@@ -101,24 +101,24 @@ &pio { mmc0_cd_pin_r7: mmc0_cd_pin at 0 { - allwinner,pins = "PG1"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG1"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; led_pins_r7: led_pins at 0 { - allwinner,pins = "PB2"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_20_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB2"; + function = "gpio_out"; + drive-strength = <20>; + bias-disable; }; usb1_vbus_pin_r7: usb1_vbus_pin at 0 { - allwinner,pins = "PG13"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG13"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun5i-a10s-wobo-i5.dts +13 -13
@@ -146,24 +146,24 @@ &pio { led_pins_wobo_i5: led_pins at 0 { - allwinner,pins = "PB2"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB2"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc0_cd_pin_wobo_i5: mmc0_cd_pin at 0 { - allwinner,pins = "PB3"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PB3"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; emac_power_pin_wobo: emac_power_pin at 0 { - allwinner,pins = "PA02"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PA02"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
@@ -223,7 +223,7 @@ }; &usb1_vbus_pin_a { - allwinner,pins = "PG12"; + pins = "PG12"; }; &usbphy {
arch/arm/dts/sun5i-a10s.dtsi +28 -28
89 lines not on this page · raw message
arch/arm/dts/sun5i-a13-empire-electronix-d709.dts +13 -13
@@ -137,24 +137,24 @@ &pio { mmc0_cd_pin_d709: mmc0_cd_pin at 0 { - allwinner,pins = "PG0"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG0"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PG1"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PG1"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PG2"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG2"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
@@ -212,7 +212,7 @@ }; &usb0_vbus_pin_a { - allwinner,pins = "PG12"; + pins = "PG12"; }; &usbphy {
arch/arm/dts/sun5i-a13-hsg-h702.dts +13 -13
@@ -136,24 +136,24 @@ &pio { mmc0_cd_pin_h702: mmc0_cd_pin at 0 { - allwinner,pins = "PG0"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG0"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PG2"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG2"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PG1"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG1"; + function = "gpio_in"; + drive-strength = <10>; + bias-disable; }; };
@@ -208,7 +208,7 @@ }; &usb0_vbus_pin_a { - allwinner,pins = "PG12"; + pins = "PG12"; }; &usbphy {
arch/arm/dts/sun5i-a13-inet-98v-rev2.dts +13 -13
@@ -129,24 +129,24 @@ &pio { mmc0_cd_pin_inet98fv2: mmc0_cd_pin at 0 { - allwinner,pins = "PG0"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG0"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PG1"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PG1"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PG2"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG2"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
@@ -198,7 +198,7 @@ }; &usb0_vbus_pin_a { - allwinner,pins = "PG12"; + pins = "PG12"; }; &usbphy {
arch/arm/dts/sun5i-a13-olinuxino-micro.dts +24 -24
69 lines not on this page · raw message
arch/arm/dts/sun5i-a13-olinuxino.dts +21 -21
66 lines not on this page · raw message
arch/arm/dts/sun5i-a13-utoo-p66.dts +10 -10
@@ -80,7 +80,7 @@ }; &codec_pa_pin { - allwinner,pins = "PG3"; + pins = "PG3"; }; &i2c1 {
@@ -116,17 +116,17 @@ &pio { i2c_lcd_pins: i2c_lcd_pin at 0 { - allwinner,pins = "PG10", "PG12"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG10", "PG12"; + function = "gpio_out"; + drive-strength = <10>; + bias-pull-up; }; ts_wake_pin_p66: ts_wake_pin at 0 { - allwinner,pins = "PB3"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB3"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
@@ -141,5 +141,5 @@ }; &usb0_vbus_pin_a { - allwinner,pins = "PB4"; + pins = "PB4"; };
arch/arm/dts/sun5i-a13.dtsi +12 -12
@@ -350,26 +350,26 @@ compatible = "allwinner,sun5i-a13-pinctrl"; lcd_rgb666_pins: lcd_rgb666 at 0 { - allwinner,pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", + pins = "PD2", "PD3", "PD4", "PD5", "PD6", "PD7", "PD10", "PD11", "PD12", "PD13", "PD14", "PD15", "PD18", "PD19", "PD20", "PD21", "PD22", "PD23", "PD24", "PD25", "PD26", "PD27"; - allwinner,function = "lcd0"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + function = "lcd0"; + drive-strength = <10>; + bias-disable; }; uart1_pins_a: uart1 at 0 { - allwinner,pins = "PE10", "PE11"; - allwinner,function = "uart1"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PE10", "PE11"; + function = "uart1"; + drive-strength = <10>; + bias-disable; }; uart1_pins_b: uart1 at 1 { - allwinner,pins = "PG3", "PG4"; - allwinner,function = "uart1"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG3", "PG4"; + function = "uart1"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun5i-gr8-chip-pro.dts +8 -8
@@ -159,17 +159,17 @@ &pio { usb0_id_pin_chip_pro: usb0-id-pin at 0 { - allwinner,pins = "PG2"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG2"; + function = "gpio_in"; + drive-strength = <10>; + bias-disable; }; wifi_reg_on_pin_chip_pro: wifi-reg-on-pin at 0 { - allwinner,pins = "PB10"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB10"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun5i-gr8.dtsi +80 -80
230 lines not on this page · raw message
arch/arm/dts/sun5i-q8-common.dtsi +16 -16
@@ -101,31 +101,31 @@ &pio { mmc0_cd_pin_q8: mmc0_cd_pin at 0 { - allwinner,pins = "PG0"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG0"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PG1"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PG1"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PG2"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG2"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_pin_a: usb0_vbus_pin at 0 { - allwinner,pins = "PG12"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG12"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun5i-r8-chip.dts +13 -13
@@ -134,7 +134,7 @@ }; &mmc0_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &mmc0 {
@@ -156,24 +156,24 @@ &pio { chip_vbus_pin: chip_vbus_pin at 0 { - allwinner,pins = "PB10"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PB10"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; chip_wifi_reg_on_pin: chip_wifi_reg_on_pin at 0 { - allwinner,pins = "PC19"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PC19"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; chip_id_det_pin: chip_id_det_pin at 0 { - allwinner,pins = "PG2"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG2"; + function = "gpio_in"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun5i-reference-design-tablet.dtsi +20 -20
@@ -112,38 +112,38 @@ &pio { codec_pa_pin: codec_pa_pin at 0 { - allwinner,pins = "PG10"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG10"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc0_cd_pin: mmc0_cd_pin at 0 { - allwinner,pins = "PG0"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG0"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_detect_pin: usb0_vbus_detect_pin at 0 { - allwinner,pins = "PG1"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_DOWN>; + pins = "PG1"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-down; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PG2"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PG2"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_vbus_pin_a: usb0_vbus_pin at 0 { - allwinner,pins = "PG12"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG12"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun5i.dtsi +32 -32
94 lines not on this page · raw message
arch/arm/dts/sun6i-a31-app4-evb1.dts +4 -4
@@ -68,10 +68,10 @@ &pio { usb1_vbus_pin_a: usb1_vbus_pin at 0 { - allwinner,pins = "PH27"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH27"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun6i-a31-colombus.dts +13 -13
@@ -124,29 +124,29 @@ }; &mmc0_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &pio { mmc0_cd_pin_colombus: mmc0_cd_pin at 0 { - allwinner,pins = "PA8"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA8"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb2_vbus_pin_colombus: usb2_vbus_pin at 0 { - allwinner,pins = "PH24"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH24"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; i2c_lcd_pins: i2c_lcd_pin at 0 { - allwinner,pins = "PA23", "PA24"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA23", "PA24"; + function = "gpio_out"; + drive-strength = <10>; + bias-pull-up; }; };
arch/arm/dts/sun6i-a31-hummingbird.dts +14 -14
@@ -134,7 +134,7 @@ &mmc0_pins_a { /* external pull-ups missing for some pins */ - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &mmc1 {
@@ -153,24 +153,24 @@ &pio { gmac_phy_reset_pin_hummingbird: gmac_phy_reset_pin at 0 { - allwinner,pins = "PA21"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PA21"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc0_cd_pin_hummingbird: mmc0_cd_pin at 0 { - allwinner,pins = "PA8"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA8"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; wifi_reset_pin_hummingbird: wifi_reset_pin at 0 { - allwinner,pins = "PG10"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG10"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
@@ -253,7 +253,7 @@ &usb1_vbus_pin_a { /* different pin from sunxi-common-regulators */ - allwinner,pins = "PH24"; + pins = "PH24"; }; &usbphy {
arch/arm/dts/sun6i-a31-i7.dts +12 -12
@@ -109,24 +109,24 @@ &pio { led_pins_i7: led_pins at 0 { - allwinner,pins = "PH13"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH13"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc0_cd_pin_i7: mmc0_cd_pin at 0 { - allwinner,pins = "PH22"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH22"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb1_vbus_pin_i7: usb1_vbus_pin at 0 { - allwinner,pins = "PC27"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PC27"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun6i-a31-m9.dts +12 -12
@@ -128,24 +128,24 @@ &pio { led_pins_m9: led_pins at 0 { - allwinner,pins = "PH13"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH13"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc0_cd_pin_m9: mmc0_cd_pin at 0 { - allwinner,pins = "PH22"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH22"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb1_vbus_pin_m9: usb1_vbus_pin at 0 { - allwinner,pins = "PC27"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PC27"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun6i-a31-mele-a1000g-quad.dts +12 -12
@@ -128,24 +128,24 @@ &pio { led_pins_m9: led_pins at 0 { - allwinner,pins = "PH13"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH13"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc0_cd_pin_m9: mmc0_cd_pin at 0 { - allwinner,pins = "PH22"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH22"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb1_vbus_pin_m9: usb1_vbus_pin at 0 { - allwinner,pins = "PC27"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PC27"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun6i-a31.dtsi +56 -56
190 lines not on this page · raw message
arch/arm/dts/sun6i-a31s-primo81.dts +12 -12
@@ -134,24 +134,24 @@ &pio { gt911_int_primo81: gt911_int_pin at 0 { - allwinner,pins = "PA3"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PA3"; + function = "gpio_in"; + drive-strength = <10>; + bias-disable; }; mma8452_int_primo81: mma8452_int_pin at 0 { - allwinner,pins = "PA9"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA9"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; mmc0_cd_pin_primo81: mmc0_cd_pin at 0 { - allwinner,pins = "PA8"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA8"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
arch/arm/dts/sun6i-a31s-sina31s.dts +8 -8
@@ -128,17 +128,17 @@ &pio { led_pin_sina31s: led_pin at 0 { - allwinner,pins = "PH13"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH13"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc0_cd_pin_sina31s: mmc0_cd_pin at 0 { - allwinner,pins = "PA4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts +18 -18
@@ -122,7 +122,7 @@ }; &mmc0_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &mmc2 {
@@ -144,7 +144,7 @@ }; &mmc2_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &ohci0 {
@@ -153,33 +153,33 @@ &pio { gmac_phy_reset_pin_bpi_m2: gmac_phy_reset_pin at 0 { - allwinner,pins = "PA21"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PA21"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; led_pins_bpi_m2: led_pins at 0 { - allwinner,pins = "PG5", "PG10", "PG11"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PG5", "PG10", "PG11"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc0_cd_pin_bpi_m2: mmc0_cd_pin at 0 { - allwinner,pins = "PA4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; }; &r_pio { mmc2_pwrseq_pin_bpi_m2: mmc2_pwrseq_pin at 0 { - allwinner,pins = "PL8"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PL8"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts +5 -5
@@ -92,10 +92,10 @@ &pio { mmc0_cd_pin_bs1078v2: mmc0_cd_pin at 0 { - allwinner,pins = "PA8"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA8"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
@@ -110,7 +110,7 @@ }; &mmc0_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &p2wi {
arch/arm/dts/sun6i-reference-design-tablet.dtsi +8 -8
@@ -77,17 +77,17 @@ &pio { mmc0_cd_pin_e708_q1: mmc0_cd_pin at 0 { - allwinner,pins = "PA8"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA8"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PA15"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PA15"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
arch/arm/dts/sun7i-a20-bananapi.dts +16 -16
@@ -179,31 +179,31 @@ &pio { usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; mmc0_cd_pin_bananapi: mmc0_cd_pin at 0 { - allwinner,pins = "PH10"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH10"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; gmac_power_pin_bananapi: gmac_power_pin at 0 { - allwinner,pins = "PH23"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH23"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; led_pins_bananapi: led_pins at 0 { - allwinner,pins = "PH24"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH24"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun7i-a20-bananapro.dts +24 -24
69 lines not on this page · raw message
arch/arm/dts/sun7i-a20-cubieboard2.dts +8 -8
@@ -160,17 +160,17 @@ &pio { led_pins_cubieboard2: led_pins at 0 { - allwinner,pins = "PH20", "PH21"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH20", "PH21"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; usb0_id_detect_pin: usb0_id_detect_pin at 0 { - allwinner,pins = "PH4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PH4"; + function = "gpio_in"; + drive-strength = <10>; + bias-pull-up; }; };
arch/arm/dts/sun7i-a20-cubietruck.dts +25 -25
77 lines not on this page · raw message
arch/arm/dts/sun7i-a20-hummingbird.dts +16 -16
@@ -188,31 +188,31 @@ &pio { ahci_pwr_pin_a20_hummingbird: ahci_pwr_pin at 0 { - allwinner,pins = "PH15"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH15"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; usb1_vbus_pin_a20_hummingbird: usb1_vbus_pin at 0 { - allwinner,pins = "PH2"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH2"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; mmc3_vdd_pin_a20_hummingbird: mmc3_vdd_pin at 0 { - allwinner,pins = "PH9"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH9"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; gmac_vdd_pin_a20_hummingbird: gmac_vdd_pin at 0 { - allwinner,pins = "PH16"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH16"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun7i-a20-i12-tvbox.dts +17 -17
@@ -185,7 +185,7 @@ &mmc3_pins_a { /* AP6210 / AP6330 requires pull-up */ - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &ohci0 {
@@ -198,31 +198,31 @@ &pio { vmmc3_pin_i12_tvbox: vmmc3_pin at 0 { - allwinner,pins = "PH2"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH2"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; vmmc3_io_pin_i12_tvbox: vmmc3_io_pin at 0 { - allwinner,pins = "PH12"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH12"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; gmac_power_pin_i12_tvbox: gmac_power_pin at 0 { - allwinner,pins = "PH21"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH21"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; led_pins_i12_tvbox: led_pins at 0 { - allwinner,pins = "PH9", "PH20"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PH9", "PH20"; + function = "gpio_out"; + drive-strength = <10>; + bias-disable; }; };
arch/arm/dts/sun7i-a20-itead-ibox.dts +4 -4
@@ -131,10 +131,10 @@ &pio { led_pins_itead_core: led_pins at 0 {
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun7i-a20-olimex-som-evb.dts +20 -20
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun7i-a20-olinuxino-lime.dts +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun7i-a20-olinuxino-lime2.dts +20 -20
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun7i-a20-olinuxino-micro.dts +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun7i-a20-orangepi-mini.dts +28 -28
56 lines not on this page · raw message
arch/arm/dts/sun7i-a20-orangepi.dts +24 -24
48 lines not on this page · raw message
arch/arm/dts/sun7i-a20-pcduino3-nano.dts +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun7i-a20-wexler-tab7200.dts +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts +8 -8
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun7i-a20.dtsi +160 -160
320 lines not on this page · raw message
arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-a23-polaroid-mid2809pxe04.dts +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-a33-inet-d978-rev2.dts +5 -5
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-a33-sinlinx-sina33.dts +6 -6
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-h3-bananapi-m2-plus.dts +12 -12
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-h3-orangepi-lite.dts +12 -12
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-h3-orangepi-one.dts +12 -12
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-h3-orangepi-pc-plus.dts +2 -2
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-h3-orangepi-pc.dts +12 -12
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-h3-orangepi-plus.dts +10 -10
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-h3-orangepi-plus2e.dts +4 -4
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun8i-h3.dtsi +32 -32
64 lines not on this page · raw message
arch/arm/dts/sun8i-r16-parrot.dts +22 -22
44 lines not on this page · raw message
arch/arm/dts/sun8i-reference-design-tablet.dtsi +16 -16
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun9i-a80-optimus.dts +21 -21
42 lines not on this page · raw message
arch/arm/dts/sun9i-a80.dtsi +32 -32
64 lines not on this page · raw message
arch/arm/dts/sunxi-common-regulators.dtsi +16 -16
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.11.0
Part of the diff is not shown here. View the raw message.
PATCH 2/3 sunxi: add DM I2C support for H3/H5
--- arch/arm/dts/sun8i-h3.dtsi | 48 ++++++++++++++++++++++++++++++++++ arch/arm/include/asm/arch-sunxi/gpio.h | 2 ++ board/sunxi/board.c | 10 ++++++- 3 files changed, 59 insertions(+), 1 deletion(-)
arch/arm/dts/sun8i-h3.dtsi +48 -0
@@ -396,6 +396,21 @@ drive-strength = <10>; bias-disable; }; + + i2c0_pins_a: i2c0 at 0 { + pins = "PA11", "PA12"; + function = "i2c0"; + }; + + i2c1_pins_a: i2c1 at 0 { + pins = "PA18", "PA19"; + function = "i2c1"; + }; + + i2c2_pins_a: i2c2 at 0 { + pins = "PE12", "PE13"; + function = "i2c2"; + }; }; timer at 01c20c00 {
@@ -464,6 +479,39 @@ status = "disabled"; }; + i2c0: i2c at 01c2ac00 { + compatible = "allwinner,sun6i-a31-i2c"; + reg = <0x01c2ac00 0x400>; + interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_I2C0>; + resets = <&ccu RST_BUS_I2C0>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c1: i2c at 01c2b000 { + compatible = "allwinner,sun6i-a31-i2c"; + reg = <0x01c2b000 0x400>; + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_I2C1>; + resets = <&ccu RST_BUS_I2C1>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c2: i2c at 01c2b400 { + compatible = "allwinner,sun6i-a31-i2c"; + reg = <0x01c2b400 0x400>; + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_I2C2>; + resets = <&ccu RST_BUS_I2C2>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + emac: ethernet at 1c30000 { compatible = "allwinner,sun8i-h3-emac"; reg = <0x01c30000 0x104>, <0x01c00030 0x4>;
arch/arm/include/asm/arch-sunxi/gpio.h +2 -0
@@ -149,6 +149,8 @@ enum sunxi_gpio_number {#define SUN6I_GPA_SDC2 5#define SUN6I_GPA_SDC3 4#define SUN8I_H3_GPA_UART0 2 +#define SUN8I_H3_H5_GPA_TWI0 2 +#define SUN8I_H3_H5_GPA_TWI1 3#define SUN4I_GPB_PWM 2#define SUN4I_GPB_TWI0 2
board/sunxi/board.c +9 -1
@@ -93,6 +93,10 @@ void i2c_init_board(void)sunxi_gpio_set_cfgpin (SUNXI_GPH (14 ),SUN6I_GPH_TWI0 );sunxi_gpio_set_cfgpin (SUNXI_GPH (15 ),SUN6I_GPH_TWI0 );clock_twi_onoff (0 ,1 ); +#elif defined(CONFIG_MACH_SUNXI_H3_H5 ) +sunxi_gpio_set_cfgpin (SUNXI_GPA (11 ),SUN8I_H3_H5_GPA_TWI0 ); +sunxi_gpio_set_cfgpin (SUNXI_GPA (12 ),SUN8I_H3_H5_GPA_TWI0 ); +clock_twi_onoff (0 ,1 );#elif defined(CONFIG_MACH_SUN8I )sunxi_gpio_set_cfgpin (SUNXI_GPH (2 ),SUN8I_GPH_TWI0 );sunxi_gpio_set_cfgpin (SUNXI_GPH (3 ),SUN8I_GPH_TWI0 );
@@ -115,6 +119,10 @@ void i2c_init_board(void)sunxi_gpio_set_cfgpin (SUNXI_GPH (16 ),SUN6I_GPH_TWI1 );sunxi_gpio_set_cfgpin (SUNXI_GPH (17 ),SUN6I_GPH_TWI1 );clock_twi_onoff (1 ,1 ); +#elif defined(CONFIG_MACH_SUNXI_H3_H5 ) +sunxi_gpio_set_cfgpin (SUNXI_GPA (18 ),SUN8I_H3_H5_GPA_TWI1 ); +sunxi_gpio_set_cfgpin (SUNXI_GPA (19 ),SUN8I_H3_H5_GPA_TWI1 ); +clock_twi_onoff (1 ,1 );#elif defined(CONFIG_MACH_SUN8I )sunxi_gpio_set_cfgpin (SUNXI_GPH (4 ),SUN8I_GPH_TWI1 );sunxi_gpio_set_cfgpin (SUNXI_GPH (5 ),SUN8I_GPH_TWI1 );
@@ -137,7 +145,7 @@ void i2c_init_board(void)sunxi_gpio_set_cfgpin (SUNXI_GPH (18 ),SUN6I_GPH_TWI2 );sunxi_gpio_set_cfgpin (SUNXI_GPH (19 ),SUN6I_GPH_TWI2 );clock_twi_onoff (2 ,1 ); -#elif defined(CONFIG_MACH_SUN8I ) +#elif defined(CONFIG_MACH_SUN8I )/* same for CONFIG_MACH_SUNXI_H3_H5 */ sunxi_gpio_set_cfgpin (SUNXI_GPE (12 ),SUN8I_GPE_TWI2 );sunxi_gpio_set_cfgpin (SUNXI_GPE (13 ),SUN8I_GPE_TWI2 );clock_twi_onoff (2 ,1 );
Signature · 1 line
2.11.0
PATCH 2/3 sunxi: add DM I2C support for H3/H5
Hi,
Quoted 1 line · Nuno Goncalves
Signed-off-by Nuno Goncalves <[email protected]>
Please write a commit log.
Quoted 59 lines
--- arch/arm/dts/sun8i-h3.dtsi | 48 ++++++++++++++++++++++++++++++++++ arch/arm/include/asm/arch-sunxi/gpio.h | 2 ++ board/sunxi/board.c | 10 ++++++- 3 files changed, 59 insertions(+), 1 deletion(-)arch/arm/dts/sun8i-h3.dtsi +38
-0@@ -396,6 +396,21 @@ drive-strength = <10>; bias-disable; }; + + i2c0_pins_a: i2c0 at 0 { + pins = "PA11", "PA12"; + function = "i2c0"; + }; + + i2c1_pins_a: i2c1 at 0 { + pins = "PA18", "PA19"; + function = "i2c1"; + }; + + i2c2_pins_a: i2c2 at 0 { + pins = "PE12", "PE13"; + function = "i2c2"; + }; }; timer at 01c20c00 {@@ -464,6 +479,39 @@ status = "disabled"; }; + i2c0: i2c at 01c2ac00 { + compatible = "allwinner,sun6i-a31-i2c"; + reg = <0x01c2ac00 0x400>; + interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_I2C0>; + resets = <&ccu RST_BUS_I2C0>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c1: i2c at 01c2b000 { + compatible = "allwinner,sun6i-a31-i2c"; + reg = <0x01c2b000 0x400>; + interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_I2C1>; + resets = <&ccu RST_BUS_I2C1>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c2: i2c at 01c2b400 {
arch/arm/dts/sun8i-h3.dtsi line 514
Quoted 10 lines
arch/arm/dts/sun8i-h3.dtsi +10
-0+ compatible = "allwinner,sun6i-a31-i2c"; + reg = <0x01c2b400 0x400>; + interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&ccu CLK_BUS_I2C2>; + resets = <&ccu RST_BUS_I2C2>; + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; +
Why don't you just synchronize the DT with Linux?
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180124/0ce4c3f5/attachment.sig>
PATCH 2/3 sunxi: add DM I2C support for H3/H5
Quoted 1 line · Maxime Ripard
Why don't you just synchronize the DT with Linux?
Didn't know that was the usual approach. But in Linux the files have a different structure, for example there is sunxi-h3-h5.dtsi.
Thanks,
Nuno
PATCH 2/3 sunxi: add DM I2C support for H3/H5
Quoted 6 lines · Nuno Gonçalves
Quoted 1 line · Maxime Ripard
Why don't you just synchronize the DT with Linux?
Didn't know that was the usual approach. But in Linux the files have a different structure, for example there is
sunxi-h3-h5.dtsi.
Yes, but nothing prevents us to have the same one here.
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180125/bd19b23f/attachment.sig>
PATCH 3/3 sunxi: add I2C nodes present on Orange Pi >ero
In reply to Nuno Goncalves--- arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +12 -0
@@ -138,6 +138,18 @@ }; }; +&i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins_a>; + status = "okay"; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins_a>; + status = "okay"; +}; + &ohci1 { status = "okay"; };
Signature · 1 line
2.11.0
PATCH 3/3 sunxi: add I2C nodes present on Orange Pi >ero
Hi,
Quoted 1 line · Nuno Goncalves
Signed-off-by Nuno Goncalves <[email protected]>
Commit log please.
Quoted 14 lines
--- arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +2
-0@@ -138,6 +138,18 @@ }; }; +&i2c0 { + pinctrl-names = "default";
arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts line 152
Quoted 10 lines
arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts +10
-0+ pinctrl-0 = <&i2c0_pins_a>; + status = "okay"; +}; + +&i2c1 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins_a>; + status = "okay"; +}; +
In particular, you should describe what these i2c buses are used for.
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180124/50a88fb0/attachment.sig>
PATCH 3/3 sunxi: add I2C nodes present on Orange Pi >ero
Quoted 1 line · Maxime Ripard
In particular, you should describe what these i2c buses are used for.
They are available on the pins exclusively. I could add the pinout for this board for sure. But maybe it doesn't make sense in this case to activate them, as without external hardware they have no use.
Thanks,
Nuno
PATCH 3/3 sunxi: add I2C nodes present on Orange Pi >ero
Quoted 7 lines · Nuno Gonçalves
Quoted 1 line · Maxime Ripard
In particular, you should describe what these i2c buses are used for.
They are available on the pins exclusively. I could add the pinout for this board for sure. But maybe it doesn't make sense in this case to activate them, as without external hardware they have no use.
Indeed. It's still good to have that patch for reference though, even if we won't merge it.
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180125/e85e7380/attachment.sig>
PATCH 1/3 sunxi: remove allwinner prefix in pinctrl nodes
In reply to Nuno GoncalvesHi,
Quoted 1 line · Nuno Goncalves
Signed-off-by Nuno Goncalves <[email protected]>
I'd rather not do that without any particular reason. This will create needless conflicts.
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180124/52254ae5/attachment.sig>