ARM: dts: sunxi: Update dts(i) files from
Subsystems (6)
cover ARM: dts: sunxi: Update dts(i) files from
This series is trying to update SoC dtsi and board dts files for Allwinner sun4i, 5i, 6i, 8i-a23/a33/a83t, r40 SoC's from Linux-4.18-rc3
These update is useful for supporting features
CLK, RESET, DM_MMC etc
Since H3/H5/A64 is already updated with Linux-4.18-rc3, this series use same version to maintain proper compatibility for all SoC platforms syncs.
thanks,
Jagan.
Jagan Teki (7):
ARM: dts: sun4i: Update A10 dts(i) files from Linux
ARM: dts: sun5i: Update A10s/A13/gr8/r8 dts(i) files from Linux
ARM: dts: sun6i: Update A31/A31s dts(i) files from Linux
ARM: dts: sun7i: Update A20 dts(i) files from Linux
ARM: dts: sun8i: Update A23/A33/r16 dts(i) files from Linux
ARM: dts: sun8i: Update A83T dts(i) files from Linux
ARM: dts: sun8i: Update R40/V40 dts(i) files from Linux
arch/arm/dts/axp209.dtsi | 17 +- arch/arm/dts/axp81x.dtsi | 169 ++ arch/arm/dts/sun4i-a10-a1000.dts | 61 +- arch/arm/dts/sun4i-a10-ba10-tvbox.dts | 23 +- arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts | 37 +- arch/arm/dts/sun4i-a10-cubieboard.dts | 67 +- arch/arm/dts/sun4i-a10-dserve-dsrv9703c.dts | 76 +- arch/arm/dts/sun4i-a10-gemei-g9.dts | 28 +- arch/arm/dts/sun4i-a10-hackberry.dts | 32 +- arch/arm/dts/sun4i-a10-hyundai-a7hd.dts | 31 +- arch/arm/dts/sun4i-a10-inet-3f.dts | 2 +- arch/arm/dts/sun4i-a10-inet-3w.dts | 2 +- arch/arm/dts/sun4i-a10-inet1.dts | 58 +- arch/arm/dts/sun4i-a10-inet97fv2.dts | 41 +- arch/arm/dts/sun4i-a10-inet9f-rev03.dts | 101 +- .../dts/sun4i-a10-itead-iteaduino-plus.dts | 24 +- arch/arm/dts/sun4i-a10-jesurun-q5.dts | 34 +- arch/arm/dts/sun4i-a10-marsboard.dts | 38 +- arch/arm/dts/sun4i-a10-mini-xplus.dts | 16 +- arch/arm/dts/sun4i-a10-mk802.dts | 59 +- arch/arm/dts/sun4i-a10-mk802ii.dts | 9 +- arch/arm/dts/sun4i-a10-olinuxino-lime.dts | 75 +- arch/arm/dts/sun4i-a10-pcduino.dts | 47 +- arch/arm/dts/sun4i-a10-pcduino2.dts | 11 - arch/arm/dts/sun4i-a10-pov-protab2-ips9.dts | 89 +- arch/arm/dts/sun4i-a10.dtsi | 1349 +++++++-------- arch/arm/dts/sun5i-a10s-auxtek-t003.dts | 26 +- arch/arm/dts/sun5i-a10s-auxtek-t004.dts | 42 +- arch/arm/dts/sun5i-a10s-mk802.dts | 24 +- arch/arm/dts/sun5i-a10s-olinuxino-micro.dts | 82 +- arch/arm/dts/sun5i-a10s-r7-tv-dongle.dts | 24 +- arch/arm/dts/sun5i-a10s-wobo-i5.dts | 29 +- arch/arm/dts/sun5i-a10s.dtsi | 224 +-- .../dts/sun5i-a13-empire-electronix-d709.dts | 29 +- arch/arm/dts/sun5i-a13-hsg-h702.dts | 29 +- arch/arm/dts/sun5i-a13-inet-98v-rev2.dts | 164 +- arch/arm/dts/sun5i-a13-olinuxino-micro.dts | 44 +- arch/arm/dts/sun5i-a13-olinuxino.dts | 100 +- arch/arm/dts/sun5i-a13-utoo-p66.dts | 49 +- arch/arm/dts/sun5i-a13.dtsi | 268 +-- arch/arm/dts/sun5i-gr8-chip-pro.dts | 16 +- arch/arm/dts/sun5i-gr8.dtsi | 1082 +----------- arch/arm/dts/sun5i-r8-chip.dts | 91 +- arch/arm/dts/sun5i-r8.dtsi | 40 - .../dts/sun5i-reference-design-tablet.dtsi | 69 +- arch/arm/dts/sun5i.dtsi | 792 ++++----- arch/arm/dts/sun6i-a31-app4-evb1.dts | 7 +- arch/arm/dts/sun6i-a31-colombus.dts | 26 +- arch/arm/dts/sun6i-a31-hummingbird.dts | 153 +- arch/arm/dts/sun6i-a31-i7.dts | 82 +- arch/arm/dts/sun6i-a31-m9.dts | 23 +- arch/arm/dts/sun6i-a31-mele-a1000g-quad.dts | 23 +- arch/arm/dts/sun6i-a31.dtsi | 1151 ++++++++----- arch/arm/dts/sun6i-a31s-cs908.dts | 2 - arch/arm/dts/sun6i-a31s-primo81.dts | 69 +- arch/arm/dts/sun6i-a31s-sina31s-core.dtsi | 1 - arch/arm/dts/sun6i-a31s-sina31s.dts | 77 +- arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 154 +- .../sun6i-a31s-yones-toptech-bs1078-v2.dts | 13 +- arch/arm/dts/sun6i-a31s.dtsi | 8 + .../dts/sun6i-reference-design-tablet.dtsi | 18 +- arch/arm/dts/sun7i-a20-bananapi-m1-plus.dts | 32 +- arch/arm/dts/sun7i-a20-bananapi.dts | 106 +- arch/arm/dts/sun7i-a20-bananapro.dts | 73 +- arch/arm/dts/sun7i-a20-cubieboard2.dts | 56 +- arch/arm/dts/sun7i-a20-cubietruck.dts | 84 +- arch/arm/dts/sun7i-a20-hummingbird.dts | 30 +- arch/arm/dts/sun7i-a20-i12-tvbox.dts | 34 +- arch/arm/dts/sun7i-a20-icnova-swac.dts | 6 +- arch/arm/dts/sun7i-a20-itead-ibox.dts | 12 +- arch/arm/dts/sun7i-a20-lamobo-r1.dts | 73 +- arch/arm/dts/sun7i-a20-m3.dts | 12 +- arch/arm/dts/sun7i-a20-mk808c.dts | 43 +- arch/arm/dts/sun7i-a20-olimex-som-evb.dts | 108 +- arch/arm/dts/sun7i-a20-olimex-som204-evb.dts | 42 +- arch/arm/dts/sun7i-a20-olinuxino-lime.dts | 58 +- .../dts/sun7i-a20-olinuxino-lime2-emmc.dts | 6 +- arch/arm/dts/sun7i-a20-olinuxino-lime2.dts | 154 +- arch/arm/dts/sun7i-a20-olinuxino-micro.dts | 116 +- arch/arm/dts/sun7i-a20-orangepi-mini.dts | 77 +- arch/arm/dts/sun7i-a20-orangepi.dts | 42 +- arch/arm/dts/sun7i-a20-pcduino3-nano.dts | 55 +- arch/arm/dts/sun7i-a20-pcduino3.dts | 26 +- arch/arm/dts/sun7i-a20-primo73.dts | 58 +- arch/arm/dts/sun7i-a20-wexler-tab7200.dts | 30 +- arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts | 20 +- arch/arm/dts/sun7i-a20.dtsi | 1505 +++++++---------- arch/arm/dts/sun8i-a23-a33.dtsi | 112 +- arch/arm/dts/sun8i-a23-evb.dts | 11 +- arch/arm/dts/sun8i-a23-gt90h-v4.dts | 5 +- arch/arm/dts/sun8i-a23-inet86dz.dts | 6 +- .../dts/sun8i-a23-polaroid-mid2407pxe03.dts | 34 +- .../dts/sun8i-a23-polaroid-mid2809pxe04.dts | 25 +- arch/arm/dts/sun8i-a23-q8-tablet.dts | 13 + arch/arm/dts/sun8i-a23.dtsi | 4 +- arch/arm/dts/sun8i-a33-ga10h-v1.1.dts | 5 +- arch/arm/dts/sun8i-a33-inet-d978-rev2.dts | 29 +- arch/arm/dts/sun8i-a33-olinuxino.dts | 66 +- arch/arm/dts/sun8i-a33-sinlinx-sina33.dts | 53 +- arch/arm/dts/sun8i-a33.dtsi | 63 +- .../dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 195 ++- arch/arm/dts/sun8i-a83t-bananapi-m3.dts | 298 +++- arch/arm/dts/sun8i-a83t-cubietruck-plus.dts | 322 +++- arch/arm/dts/sun8i-a83t-tbs-a711.dts | 355 +++- arch/arm/dts/sun8i-a83t.dtsi | 885 +++++++++- arch/arm/dts/sun8i-q8-common.dtsi | 30 +- arch/arm/dts/sun8i-r16-bananapi-m2m.dts | 3 +- ...sun8i-r16-nintendo-nes-classic-edition.dts | 2 - arch/arm/dts/sun8i-r16-parrot.dts | 50 +- arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 168 +- arch/arm/dts/sun8i-r40.dtsi | 303 +++- .../dts/sun8i-reference-design-tablet.dtsi | 59 +- arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts | 50 + include/dt-bindings/clock/sun4i-a10-ccu.h | 202 +++ include/dt-bindings/clock/sun5i-ccu.h | 106 ++ include/dt-bindings/clock/sun6i-a31-ccu.h | 191 +++ include/dt-bindings/clock/sun7i-a20-ccu.h | 53 + include/dt-bindings/clock/sun8i-a83t-ccu.h | 140 ++ include/dt-bindings/reset/sun4i-a10-ccu.h | 69 + include/dt-bindings/reset/sun5i-ccu.h | 32 + include/dt-bindings/reset/sun6i-a31-ccu.h | 106 ++ include/dt-bindings/reset/sun8i-a83t-ccu.h | 98 ++ 122 files changed, 8374 insertions(+), 6154 deletions(-) create mode 100644 arch/arm/dts/axp81x.dtsi create mode 100644 include/dt-bindings/clock/sun4i-a10-ccu.h create mode 100644 include/dt-bindings/clock/sun5i-ccu.h create mode 100644 include/dt-bindings/clock/sun6i-a31-ccu.h create mode 100644 include/dt-bindings/clock/sun7i-a20-ccu.h create mode 100644 include/dt-bindings/clock/sun8i-a83t-ccu.h create mode 100644 include/dt-bindings/reset/sun4i-a10-ccu.h create mode 100644 include/dt-bindings/reset/sun5i-ccu.h create mode 100644 include/dt-bindings/reset/sun6i-a31-ccu.h create mode 100644 include/dt-bindings/reset/sun8i-a83t-ccu.h
Signature · 1 line
2.18.0.321.gffc6fa0e3
PATCH 1/7 ARM: dts: sun4i: Update A10 dts(i) files from Linux
Update all A10 devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit:
commit 590b0c0cfc6162aeebbf43eaafb9753b56df1532
Author: Pascal Roeleven <[email protected]> Date: Fri Apr 20 12:21:12 2018 +0200
ARM: dts: sun4i: Fix incorrect clocks for displays
Note: Update pinctrl-0 for sun4i-a10-inet-3f.dts, sun4i-a10-inet-3w.dts like other dts file since there dts file are U-Boot specific.
--- arch/arm/dts/axp209.dtsi | 17 +- arch/arm/dts/sun4i-a10-a1000.dts | 61 +- arch/arm/dts/sun4i-a10-ba10-tvbox.dts | 23 +- arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts | 37 +- arch/arm/dts/sun4i-a10-cubieboard.dts | 67 +- arch/arm/dts/sun4i-a10-dserve-dsrv9703c.dts | 76 +- arch/arm/dts/sun4i-a10-gemei-g9.dts | 28 +- arch/arm/dts/sun4i-a10-hackberry.dts | 32 +- arch/arm/dts/sun4i-a10-hyundai-a7hd.dts | 31 +- arch/arm/dts/sun4i-a10-inet-3f.dts | 2 +- arch/arm/dts/sun4i-a10-inet-3w.dts | 2 +- arch/arm/dts/sun4i-a10-inet1.dts | 58 +- arch/arm/dts/sun4i-a10-inet97fv2.dts | 41 +- arch/arm/dts/sun4i-a10-inet9f-rev03.dts | 101 +- .../dts/sun4i-a10-itead-iteaduino-plus.dts | 24 +- arch/arm/dts/sun4i-a10-jesurun-q5.dts | 34 +- arch/arm/dts/sun4i-a10-marsboard.dts | 38 +- arch/arm/dts/sun4i-a10-mini-xplus.dts | 16 +- arch/arm/dts/sun4i-a10-mk802.dts | 59 +- arch/arm/dts/sun4i-a10-mk802ii.dts | 9 +- arch/arm/dts/sun4i-a10-olinuxino-lime.dts | 75 +- arch/arm/dts/sun4i-a10-pcduino.dts | 47 +- arch/arm/dts/sun4i-a10-pcduino2.dts | 11 - arch/arm/dts/sun4i-a10-pov-protab2-ips9.dts | 89 +- arch/arm/dts/sun4i-a10.dtsi | 1349 +++++++---------- include/dt-bindings/clock/sun4i-a10-ccu.h | 202 +++ include/dt-bindings/reset/sun4i-a10-ccu.h | 69 + 27 files changed, 1176 insertions(+), 1422 deletions(-) create mode 100644 include/dt-bindings/clock/sun4i-a10-ccu.h create mode 100644 include/dt-bindings/reset/sun4i-a10-ccu.h
arch/arm/dts/axp209.dtsi +16 -1
@@ -53,12 +53,27 @@ interrupt-controller; #interrupt-cells = <1>; + ac_power_supply: ac-power-supply { + compatible = "x-powers,axp202-ac-power-supply"; + status = "disabled"; + }; + + axp_adc: adc { + compatible = "x-powers,axp209-adc"; + #io-channel-cells = <1>; + }; + axp_gpio: gpio { compatible = "x-powers,axp209-gpio"; gpio-controller; #gpio-cells = <2>; }; + battery_power_supply: battery-power-supply { + compatible = "x-powers,axp209-battery-power-supply"; + status = "disabled"; + }; + regulators { /* Default work frequency for buck regulators */ x-powers,dcdc-freq = <1500>;
@@ -97,7 +112,7 @@ }; }; - usb_power_supply: usb_power_supply { + usb_power_supply: usb-power-supply { compatible = "x-powers,axp202-usb-power-supply"; status = "disabled"; };
arch/arm/dts/sun4i-a10-a1000.dts +32 -29
129 lines not on this page · raw message
arch/arm/dts/sun4i-a10-ba10-tvbox.dts +3 -20
@@ -68,8 +68,6 @@ }; &emac { - pinctrl-names = "default"; - pinctrl-0 = <&emac_pins_a>; phy = <&phy1>; status = "okay"; };
@@ -79,8 +77,6 @@ }; &i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins_a>; status = "okay"; axp209: pmic at 34 {
@@ -95,7 +91,7 @@ &ir0 { pinctrl-names = "default"; - pinctrl-0 = <&ir0_rx_pins_a>; + pinctrl-0 = <&ir0_rx_pins>; status = "okay"; };
@@ -108,12 +104,9 @@ }; &mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -121,20 +114,10 @@ status = "okay"; }; -&ohci1 { - status = "okay"; -}; - &otg_sram { status = "okay"; }; -&pio { - usb2_vbus_pin_a: usb2_vbus_pin at 0 { - allwinner,pins = "PH12"; - }; -}; - ®_usb0_vbus { regulator-boot-on; status = "okay";
@@ -151,7 +134,7 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-chuwi-v7-cw0825.dts +13 -24
@@ -65,8 +65,6 @@ }; &i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins_a>; status = "okay"; axp209: pmic at 34 {
@@ -80,14 +78,10 @@ }; &i2c1 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c1_pins_a>; status = "okay"; }; &i2c2 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c2_pins_a>; status = "okay"; ft5306de4: touchscreen at 38 {
@@ -104,21 +98,21 @@ vref-supply = <®_vcc3v0>; status = "okay"; - button at 800 { + button-800 { label = "Volume Up"; linux,code = <KEY_VOLUMEUP>; channel = <0>; voltage = <800000>; }; - button at 1000 { + button-1000 { label = "Volume Down"; linux,code = <KEY_VOLUMEDOWN>; channel = <0>; voltage = <1000000>; }; - button at 1200 { + button-1200 { label = "Back"; linux,code = <KEY_BACK>; channel = <0>;
@@ -127,12 +121,9 @@ }; &mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -141,18 +132,16 @@ }; &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>; + usb0_id_detect_pin: usb0-id-detect-pin { + pins = "PH4"; + function = "gpio_in"; + 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>; + usb0_vbus_detect_pin: usb0-vbus-detect-pin { + pins = "PH5"; + function = "gpio_in"; + bias-pull-down; }; };
@@ -166,7 +155,7 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-cubieboard.dts +42 -25
142 lines not on this page · raw message
arch/arm/dts/sun4i-a10-dserve-dsrv9703c.dts +14 -62
163 lines not on this page · raw message
arch/arm/dts/sun4i-a10-gemei-g9.dts +5 -23
@@ -72,8 +72,6 @@ */ &codec { /* PH15 controls power to external amplifier (ft2012q) */ - pinctrl-names = "default"; - pinctrl-0 = <&codec_pa_pin>; allwinner,pa-gpios = <&pio 7 15 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -91,8 +89,6 @@ }; &i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins_a>; status = "okay"; axp209: pmic at 34 {
@@ -104,8 +100,6 @@ #include "axp209.dtsi" &i2c1 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c1_pins_a>; status = "okay"; /* Accelerometer */
@@ -122,21 +116,21 @@ status = "okay"; - button at 158 { + button-158 { label = "Volume Down"; linux,code = <KEY_VOLUMEDOWN>; channel = <0>; voltage = <158730>; }; - button at 349 { + button-349 { label = "Volume Up"; linux,code = <KEY_VOLUMEUP>; channel = <0>; voltage = <349206>; }; - button at 1142 { + button-1142 { label = "Esc"; linux,code = <KEY_ESC>; channel = <0>;
@@ -145,24 +139,12 @@ }; &mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH01 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH01 */ status = "okay"; }; -&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>; - }; -}; - ®_dcdc2 { regulator-always-on; regulator-min-microvolt = <1000000>;
@@ -199,7 +181,7 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-hackberry.dts +3 -29
@@ -47,7 +47,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Miniand Hackberry";
@@ -81,8 +80,6 @@ }; &emac { - pinctrl-names = "default"; - pinctrl-0 = <&emac_pins_a>; phy = <&phy0>; status = "okay"; };
@@ -93,7 +90,7 @@ &ir0 { pinctrl-names = "default"; - pinctrl-0 = <&ir0_rx_pins_a>; + pinctrl-0 = <&ir0_rx_pins>; status = "okay"; };
@@ -107,12 +104,9 @@ }; &mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -124,31 +118,11 @@ status = "okay"; }; -&pio { - pinctrl-names = "default"; - 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>; - }; - - 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>; - }; -}; - ®_usb1_vbus { status = "okay"; }; ®_usb2_vbus { - pinctrl-0 = <&usb2_vbus_pin_hackberry>; gpio = <&pio 7 12 GPIO_ACTIVE_HIGH>; status = "okay"; };
@@ -161,6 +135,6 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-hyundai-a7hd.dts +10 -21
@@ -63,8 +63,6 @@ }; &i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins_a>; status = "okay"; axp209: pmic at 34 {
@@ -78,12 +76,9 @@ }; &mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -92,18 +87,16 @@ }; &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>; + usb0_id_detect_pin: usb0-id-detect-pin { + pins = "PH4"; + function = "gpio_in"; + 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>; + usb0_vbus_detect_pin: usb0-vbus-detect-pin { + pins = "PH5"; + function = "gpio_in"; + bias-pull-down; }; };
@@ -118,14 +111,10 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; }; -&usb2_vbus_pin_a { - allwinner,pins = "PH6"; -}; - &usb_otg { dr_mode = "otg"; status = "okay";
arch/arm/dts/sun4i-a10-inet-3f.dts +1 -1
@@ -23,6 +23,6 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-inet-3w.dts +1 -1
@@ -23,6 +23,6 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-inet1.dts +14 -44
139 lines not on this page · raw message
arch/arm/dts/sun4i-a10-inet97fv2.dts +15 -26
109 lines not on this page · raw message
arch/arm/dts/sun4i-a10-inet9f-rev03.dts +44 -57
298 lines not on this page · raw message
arch/arm/dts/sun4i-a10-itead-iteaduino-plus.dts +15 -9
@@ -57,7 +57,7 @@ &emac { pinctrl-names = "default"; - pinctrl-0 = <&emac_pins_a>; + pinctrl-0 = <&emac_pins>; phy = <&phy1>; status = "okay"; };
@@ -67,6 +67,9 @@ }; &i2c0 { + pinctrl-names = "default"; + pinctrl-0 = <&i2c0_pins>; + axp209: pmic at 34 { interrupts = <0>; };
@@ -74,19 +77,19 @@ &i2c1 { pinctrl-names = "default"; - pinctrl-0 = <&i2c1_pins_a>; + pinctrl-0 = <&i2c1_pins>; status = "okay"; }; &i2c2 { pinctrl-names = "default"; - pinctrl-0 = <&i2c2_pins_a>; + pinctrl-0 = <&i2c2_pins>; status = "okay"; }; &ir0 { pinctrl-names = "default"; - pinctrl-0 = <&ir0_rx_pins_a>; + pinctrl-0 = <&ir0_rx_pins>; status = "okay"; };
@@ -100,11 +103,10 @@ &mmc0 { pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + pinctrl-0 = <&mmc0_pins>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -114,7 +116,11 @@ &spi0 { pinctrl-names = "default"; - pinctrl-0 = <&spi0_pins_a>, - <&spi0_cs0_pins_a>; + pinctrl-0 = <&spi0_pi_pins>, + <&spi0_cs0_pi_pin>; status = "okay"; }; + +&uart0 { + pinctrl-0 = <&uart0_pb_pins>; +};
arch/arm/dts/sun4i-a10-jesurun-q5.dts +3 -31
@@ -47,7 +47,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Jesurun Q5";
@@ -63,8 +62,6 @@ leds { compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&led_pins_q5>; green { label = "q5:green:usr";
@@ -75,8 +72,6 @@ reg_emac_3v3: emac-3v3 { compatible = "regulator-fixed"; - pinctrl-names = "default"; - pinctrl-0 = <&emac_power_pin_q5>; regulator-name = "emac-3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>;
@@ -99,8 +94,6 @@ }; &emac { - pinctrl-names = "default"; - pinctrl-0 = <&emac_pins_a>; phy = <&phy1>; status = "okay"; };
@@ -110,8 +103,6 @@ }; &i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins_a>; status = "okay"; axp209: pmic at 34 {
@@ -126,7 +117,7 @@ &ir0 { pinctrl-names = "default"; - pinctrl-0 = <&ir0_rx_pins_a>; + pinctrl-0 = <&ir0_rx_pins>; status = "okay"; };
@@ -140,12 +131,9 @@ }; &mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -161,22 +149,6 @@ status = "okay"; }; -&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>; - }; - - 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>; - }; -}; - ®_usb0_vbus { regulator-boot-on; status = "okay";
@@ -192,7 +164,7 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-marsboard.dts +8 -30
@@ -46,7 +46,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "HAOYU Electronics Marsboard A10";
@@ -62,8 +61,6 @@ leds { compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&led_pins_marsboard>; red1 { label = "marsboard:red1:usr";
@@ -108,27 +105,19 @@ }; &emac { - pinctrl-names = "default"; - pinctrl-0 = <&emac_pins_a>; phy = <&phy1>; status = "okay"; }; &i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins_a>; status = "okay"; }; &i2c1 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c1_pins_a>; status = "okay"; }; &i2c2 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c2_pins_a>; status = "okay"; };
@@ -141,12 +130,9 @@ }; &mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -163,18 +149,10 @@ }; &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>; - }; - - 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>; + usb0_id_detect_pin: usb0-id-detect-pin { + pins = "PH4"; + function = "gpio_in"; + bias-pull-up; }; };
@@ -188,14 +166,14 @@ &spi0 { pinctrl-names = "default"; - pinctrl-0 = <&spi0_pins_a>, - <&spi0_cs0_pins_a>; + pinctrl-0 = <&spi0_pi_pins>, + <&spi0_cs0_pi_pin>; status = "okay"; }; &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-mini-xplus.dts +5 -11
@@ -47,7 +47,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "PineRiver Mini X-Plus";
@@ -71,8 +70,6 @@ }; &i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins_a>; status = "okay"; axp209: pmic at 34 {
@@ -87,22 +84,19 @@ &ir0 { pinctrl-names = "default"; - pinctrl-0 = <&ir0_rx_pins_a>; + pinctrl-0 = <&ir0_rx_pins>; status = "okay"; }; -&ir0_rx_pins_a { +&ir0_rx_pins { /* The ir receiver is not always populated */ - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -133,7 +127,7 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-mk802.dts +27 -32
110 lines not on this page · raw message
arch/arm/dts/sun4i-a10-mk802ii.dts +2 -7
@@ -67,8 +67,6 @@ }; &i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins_a>; status = "okay"; axp209: pmic at 34 {
@@ -82,12 +80,9 @@ }; &mmc0 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -105,7 +100,7 @@ &uart0 { pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; + pinctrl-0 = <&uart0_pb_pins>; status = "okay"; };
arch/arm/dts/sun4i-a10-olinuxino-lime.dts +39 -36
140 lines not on this page · raw message
arch/arm/dts/sun4i-a10-pcduino.dts +10 -37
111 lines not on this page · raw message
arch/arm/dts/sun4i-a10-pcduino2.dts +0 -11
@@ -55,18 +55,7 @@ compatible = "linksprite,a10-pcduino2", "allwinner,sun4i-a10"; }; -&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>; - }; -}; - ®_usb2_vbus { - pinctrl-names = "default"; - pinctrl-0 = <&usb2_vbus_pin_pcduino2>; gpio = <&pio 3 2 GPIO_ACTIVE_HIGH>; status = "okay"; };
arch/arm/dts/sun4i-a10-pov-protab2-ips9.dts +16 -73
169 lines not on this page · raw message
arch/arm/dts/sun4i-a10.dtsi +567 -782
721 lines not on this page · raw message
include/dt-bindings/clock/sun4i-a10-ccu.h new file +202 -0
202 lines not on this page · raw message
include/dt-bindings/reset/sun4i-a10-ccu.h new file +69 -0
69 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.18.0.321.gffc6fa0e3
Part of the diff is not shown here. View the raw message.
PATCH 2/7 ARM: dts: sun5i: Update A10s/A13/gr8/r8 dts(i) files from Linux
In reply to Jagan TekiUpdate all A10s/A13/gr8/r8devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit:
commit 190e3138f9577885691540dca59c2f07540bde04
Merge: cafc87023b0d a7affb13b271
Author: Arnd Bergmann <[email protected]>
Date: Tue Mar 27 14:58:00 2018 +0200
Merge tag 'sunxi-h3-h5-for-4.17' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into next/dt
--- arch/arm/dts/sun5i-a10s-auxtek-t003.dts | 26 +- arch/arm/dts/sun5i-a10s-auxtek-t004.dts | 42 +- arch/arm/dts/sun5i-a10s-mk802.dts | 24 +- arch/arm/dts/sun5i-a10s-olinuxino-micro.dts | 82 +- arch/arm/dts/sun5i-a10s-r7-tv-dongle.dts | 24 +- arch/arm/dts/sun5i-a10s-wobo-i5.dts | 29 +- arch/arm/dts/sun5i-a10s.dtsi | 224 +--- .../dts/sun5i-a13-empire-electronix-d709.dts | 29 +- arch/arm/dts/sun5i-a13-hsg-h702.dts | 29 +- arch/arm/dts/sun5i-a13-inet-98v-rev2.dts | 164 +-- arch/arm/dts/sun5i-a13-olinuxino-micro.dts | 44 +- arch/arm/dts/sun5i-a13-olinuxino.dts | 100 +- arch/arm/dts/sun5i-a13-utoo-p66.dts | 49 +- arch/arm/dts/sun5i-a13.dtsi | 268 +--- arch/arm/dts/sun5i-gr8-chip-pro.dts | 16 +- arch/arm/dts/sun5i-gr8.dtsi | 1082 +---------------- arch/arm/dts/sun5i-r8-chip.dts | 91 +- arch/arm/dts/sun5i-r8.dtsi | 40 - .../dts/sun5i-reference-design-tablet.dtsi | 69 +- arch/arm/dts/sun5i.dtsi | 792 ++++++------ include/dt-bindings/clock/sun5i-ccu.h | 106 ++ include/dt-bindings/reset/sun5i-ccu.h | 32 + 22 files changed, 1016 insertions(+), 2346 deletions(-) create mode 100644 include/dt-bindings/clock/sun5i-ccu.h create mode 100644 include/dt-bindings/reset/sun5i-ccu.h
arch/arm/dts/sun5i-a10s-auxtek-t003.dts +7 -19
@@ -44,7 +44,6 @@ #include "sun5i-a10s.dtsi" #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Auxtek t003 A10s hdmi tv-stick";
@@ -94,8 +93,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_t003>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */ - cd-inverted; + cd-gpios = <&pio 6 1 GPIO_ACTIVE_LOW>; /* PG1 */ status = "okay"; };
@@ -109,17 +107,15 @@ &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"; + 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>; }; };
@@ -139,14 +135,6 @@ status = "okay"; }; -&usb0_vbus_pin_a { - allwinner,pins = "PG13"; -}; - -&usb1_vbus_pin_a { - allwinner,pins = "PB10"; -}; - &usb_otg { dr_mode = "host"; status = "okay";
arch/arm/dts/sun5i-a10s-auxtek-t004.dts +25 -17
77 lines not on this page · raw message
arch/arm/dts/sun5i-a10s-mk802.dts +9 -15
@@ -92,8 +92,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_mk802>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */ - cd-inverted; + cd-gpios = <&pio 6 1 GPIO_ACTIVE_LOW>; /* PG1 */ status = "okay"; };
@@ -116,24 +115,19 @@ &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"; }; 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"; + 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"; }; };
@@ -150,7 +144,7 @@ }; &usb_otg { - dr_mode = "otg"; + dr_mode = "peripheral"; status = "okay"; };
arch/arm/dts/sun5i-a10s-olinuxino-micro.dts +49 -33
160 lines not on this page · raw message
arch/arm/dts/sun5i-a10s-r7-tv-dongle.dts +9 -15
@@ -45,7 +45,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "R7 A10s hdmi tv-stick";
@@ -81,8 +80,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_r7>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 6 1 GPIO_ACTIVE_HIGH>; /* PG1 */ - cd-inverted; + cd-gpios = <&pio 6 1 GPIO_ACTIVE_LOW>; /* PG1 */ status = "okay"; };
@@ -101,24 +99,20 @@ &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"; + 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>; }; 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"; }; };
arch/arm/dts/sun5i-a10s-wobo-i5.dts +9 -20
@@ -46,7 +46,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "A10s-Wobo i5";
@@ -95,7 +94,7 @@ &emac { pinctrl-names = "default"; - pinctrl-0 = <&emac_pins_b>; + pinctrl-0 = <&emac_pins_a>; phy = <&phy1>; status = "okay"; };
@@ -131,8 +130,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_wobo_i5>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */ - cd-inverted; + cd-gpios = <&pio 1 3 GPIO_ACTIVE_LOW>; /* PB3 */ status = "okay"; };
@@ -146,24 +144,19 @@ &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"; }; 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"; + 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"; }; };
@@ -222,10 +215,6 @@ status = "okay"; }; -&usb1_vbus_pin_a { - allwinner,pins = "PG12"; -}; - &usbphy { usb1_vbus-supply = <®_usb1_vbus>; status = "okay";
arch/arm/dts/sun5i-a10s.dtsi +67 -157
281 lines not on this page · raw message
arch/arm/dts/sun5i-a13-empire-electronix-d709.dts +10 -19
@@ -46,7 +46,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> #include <dt-bindings/interrupt-controller/irq.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> #include <dt-bindings/pwm/pwm.h> / {
@@ -126,8 +125,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_d709>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 6 0 GPIO_ACTIVE_HIGH>; /* PG0 */ - cd-inverted; + cd-gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */ status = "okay"; };
@@ -137,24 +135,21 @@ &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"; + 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"; + 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"; + bias-pull-up; }; };
@@ -211,10 +206,6 @@ status = "okay"; }; -&usb0_vbus_pin_a { - allwinner,pins = "PG12"; -}; - &usbphy { pinctrl-names = "default"; pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
arch/arm/dts/sun5i-a13-hsg-h702.dts +9 -20
@@ -46,7 +46,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "HSG H702";
@@ -121,8 +120,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_h702>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 6 0 GPIO_ACTIVE_HIGH>; /* PG0 */ - cd-inverted; + cd-gpios = <&pio 6 0 GPIO_ACTIVE_LOW>; /* PG0 */ status = "okay"; };
@@ -136,24 +134,20 @@ &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"; + 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"; + 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"; }; };
@@ -191,7 +185,6 @@ }; ®_usb0_vbus { - pinctrl-0 = <&usb0_vbus_pin_a>; gpio = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */ status = "okay"; };
@@ -207,10 +200,6 @@ status = "okay"; }; -&usb0_vbus_pin_a { - allwinner,pins = "PG12"; -}; - &usbphy { pinctrl-names = "default"; pinctrl-0 = <&usb0_id_detect_pin>, <&usb0_vbus_detect_pin>;
arch/arm/dts/sun5i-a13-inet-98v-rev2.dts +1 -163
172 lines not on this page · raw message
arch/arm/dts/sun5i-a13-olinuxino-micro.dts +17 -27
77 lines not on this page · raw message
arch/arm/dts/sun5i-a13-olinuxino.dts +73 -27
148 lines not on this page · raw message
arch/arm/dts/sun5i-a13-utoo-p66.dts +19 -30
72 lines not on this page · raw message
arch/arm/dts/sun5i-a13.dtsi +8 -260
313 lines not on this page · raw message
arch/arm/dts/sun5i-gr8-chip-pro.dts +6 -10
@@ -159,23 +159,19 @@ &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"; }; 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"; }; }; &pwm { pinctrl-names = "default"; - pinctrl-0 = <&pwm0_pins_a>, <&pwm1_pins>; + pinctrl-0 = <&pwm0_pins>, <&pwm1_pins>; status = "disabled"; };
@@ -224,7 +220,7 @@ &uart1 { pinctrl-names = "default"; - pinctrl-0 = <&uart1_pins_a>, <&uart1_cts_rts_pins_a>; + pinctrl-0 = <&uart1_pins_b>, <&uart1_cts_rts_pins_a>; status = "okay"; };
arch/arm/dts/sun5i-gr8.dtsi +38 -1044
1,128 lines not on this page · raw message
arch/arm/dts/sun5i-r8-chip.dts +67 -24
165 lines not on this page · raw message
arch/arm/dts/sun5i-r8.dtsi +0 -40
@@ -45,43 +45,3 @@ #include "sun5i-a13.dtsi" -/ { - chosen { - framebuffer at 1 { - compatible = "allwinner,simple-framebuffer", - "simple-framebuffer"; - allwinner,pipeline = "de_be0-lcd0-tve0"; - clocks = <&ahb_gates 34>, <&ahb_gates 36>, - <&ahb_gates 44>, <&de_be_clk>, - <&tcon_ch1_clk>, <&dram_gates 26>; - status = "disabled"; - }; - }; - - soc at 01c00000 { - tve0: tv-encoder at 01c0a000 { - compatible = "allwinner,sun4i-a10-tv-encoder"; - reg = <0x01c0a000 0x1000>; - clocks = <&ahb_gates 34>; - resets = <&tcon_ch0_clk 0>; - status = "disabled"; - - port { - #address-cells = <1>; - #size-cells = <0>; - - tve0_in_tcon0: endpoint at 0 { - reg = <0>; - remote-endpoint = <&tcon0_out_tve0>; - }; - };
Lines of this file are not shown. View the raw message.
arch/arm/dts/sun5i-reference-design-tablet.dtsi +47 -22
69 lines not on this page · raw message
arch/arm/dts/sun5i.dtsi +408 -384
792 lines not on this page · raw message
include/dt-bindings/clock/sun5i-ccu.h new file +106 -0
106 lines not on this page · raw message
include/dt-bindings/reset/sun5i-ccu.h new file +32 -0
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.18.0.321.gffc6fa0e3
Part of the diff is not shown here. View the raw message.
PATCH 3/7 ARM: dts: sun6i: Update A31/A31s dts(i) files from Linux
In reply to Jagan TekiUpdate all A31/A31s devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit:
commit b240b419db5d624ce7a5a397d6f62a1a686009ec
Merge: 9c2dd8405c0c 518d2f43c358
Author: Linus Torvalds <[email protected]>
Date: Thu Apr 5 21:18:09 2018 -0700
Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
--- arch/arm/dts/sun6i-a31-app4-evb1.dts | 7 +- arch/arm/dts/sun6i-a31-colombus.dts | 26 +- arch/arm/dts/sun6i-a31-hummingbird.dts | 153 ++- arch/arm/dts/sun6i-a31-i7.dts | 82 +- arch/arm/dts/sun6i-a31-m9.dts | 23 +- arch/arm/dts/sun6i-a31-mele-a1000g-quad.dts | 23 +- arch/arm/dts/sun6i-a31.dtsi | 1151 ++++++++++------- arch/arm/dts/sun6i-a31s-cs908.dts | 2 - arch/arm/dts/sun6i-a31s-primo81.dts | 69 +- arch/arm/dts/sun6i-a31s-sina31s-core.dtsi | 1 - arch/arm/dts/sun6i-a31s-sina31s.dts | 77 +- arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 154 ++- .../sun6i-a31s-yones-toptech-bs1078-v2.dts | 13 +- arch/arm/dts/sun6i-a31s.dtsi | 8 + .../dts/sun6i-reference-design-tablet.dtsi | 18 +- include/dt-bindings/clock/sun6i-a31-ccu.h | 191 +++ include/dt-bindings/reset/sun6i-a31-ccu.h | 106 ++ 17 files changed, 1476 insertions(+), 628 deletions(-) create mode 100644 include/dt-bindings/clock/sun6i-a31-ccu.h create mode 100644 include/dt-bindings/reset/sun6i-a31-ccu.h
arch/arm/dts/sun6i-a31-app4-evb1.dts +2 -5
@@ -47,7 +47,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Allwinner A31 APP4 EVB1 Evaluation Board";
@@ -68,10 +67,8 @@ &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"; }; };
arch/arm/dts/sun6i-a31-colombus.dts +10 -16
@@ -47,7 +47,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "WITS A31 Colombus Evaluation Board";
@@ -118,35 +117,30 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_colombus>; vmmc-supply = <®_vcc3v0>; bus-width = <4>; - cd-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */ - cd-inverted; + cd-gpios = <&pio 0 8 GPIO_ACTIVE_LOW>; /* PA8 */ status = "okay"; }; &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"; + 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"; }; 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"; + bias-pull-up; }; };
arch/arm/dts/sun6i-a31-hummingbird.dts +134 -19
235 lines not on this page · raw message
arch/arm/dts/sun6i-a31-i7.dts +67 -15
129 lines not on this page · raw message
arch/arm/dts/sun6i-a31-m9.dts +8 -15
@@ -45,7 +45,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Mele M9 top set box";
@@ -108,8 +107,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_m9>; vmmc-supply = <®_dcdc1>; bus-width = <4>; - cd-gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */ - cd-inverted; + cd-gpios = <&pio 7 22 GPIO_ACTIVE_LOW>; /* PH22 */ status = "okay"; };
@@ -128,24 +126,19 @@ &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"; }; 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"; + 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"; }; };
arch/arm/dts/sun6i-a31-mele-a1000g-quad.dts +8 -15
@@ -45,7 +45,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Mele A1000G Quad top set box";
@@ -108,8 +107,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_m9>; vmmc-supply = <®_dcdc1>; bus-width = <4>; - cd-gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>; /* PH22 */ - cd-inverted; + cd-gpios = <&pio 7 22 GPIO_ACTIVE_LOW>; /* PH22 */ status = "okay"; };
@@ -128,24 +126,19 @@ &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"; }; 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"; + 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"; }; };
arch/arm/dts/sun6i-a31.dtsi +681 -470
1,598 lines not on this page · raw message
arch/arm/dts/sun6i-a31s-cs908.dts +0 -2
@@ -43,8 +43,6 @@ /dts-v1/; #include "sun6i-a31s.dtsi" -#include <dt-bindings/pinctrl/sun4i-a10.h> - / { model = "CSQ CS908 top set box"; compatible = "csq,cs908", "allwinner,sun6i-a31s";
arch/arm/dts/sun6i-a31s-primo81.dts +52 -17
134 lines not on this page · raw message
arch/arm/dts/sun6i-a31s-sina31s-core.dtsi +0 -1
@@ -45,7 +45,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Sinlinx SinA31s Core Board";
arch/arm/dts/sun6i-a31s-sina31s.dts +67 -10
116 lines not on this page · raw message
arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dts +130 -24
221 lines not on this page · raw message
arch/arm/dts/sun6i-a31s-yones-toptech-bs1078-v2.dts +5 -8
@@ -45,7 +45,6 @@ #include "sunxi-common-regulators.dtsi" #include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Yones TopTech BS1078 v2 Tablet";
@@ -92,10 +91,9 @@ &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"; + bias-pull-up; }; };
@@ -104,13 +102,12 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bs1078v2>; vmmc-supply = <®_vcc3v0>; bus-width = <4>; - cd-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */ - cd-inverted; + cd-gpios = <&pio 0 8 GPIO_ACTIVE_LOW>; /* PA8 */ status = "okay"; }; &mmc0_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &p2wi {
arch/arm/dts/sun6i-a31s.dtsi +8 -0
@@ -48,6 +48,14 @@ #include "sun6i-a31.dtsi" +&de { + compatible = "allwinner,sun6i-a31s-display-engine"; +}; + &pio { compatible = "allwinner,sun6i-a31s-pinctrl"; }; + +&tcon0 { + compatible = "allwinner,sun6i-a31s-tcon"; +};
arch/arm/dts/sun6i-reference-design-tablet.dtsi +7 -11
@@ -44,7 +44,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { aliases {
@@ -70,24 +69,21 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_e708_q1>; vmmc-supply = <®_dcdc1>; bus-width = <4>; - cd-gpios = <&pio 0 8 GPIO_ACTIVE_HIGH>; /* PA8 */ - cd-inverted; + cd-gpios = <&pio 0 8 GPIO_ACTIVE_LOW>; /* PA8 */ status = "okay"; }; &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"; + 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"; + bias-pull-up; }; };
include/dt-bindings/clock/sun6i-a31-ccu.h new file +191 -0
191 lines not on this page · raw message
include/dt-bindings/reset/sun6i-a31-ccu.h new file +106 -0
106 lines not on this page · raw message
Signature · 1 line
2.18.0.321.gffc6fa0e3
PATCH 4/7 ARM: dts: sun7i: Update A20 dts(i) files from Linux
In reply to Jagan TekiUpdate all A10 devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit:
commit 5d9ef839f874f4e3923c8a9ae7b136c6c3912cd5
Author: Stefan Mavrodiev <[email protected]> Date: Wed May 16 14:38:08 2018 +0300
ARM: dts: sun7i: Add Olimex A20-SOM-EVB-eMMC board
Note:
- Update sun7i-a20-primo73.dts as per Linux, since this dts is U-Boot specific.
- Drop sun7i-a20-olimex-som-evb-emmc.dts since no board added for this.
--- arch/arm/dts/sun7i-a20-bananapi-m1-plus.dts | 32 +- arch/arm/dts/sun7i-a20-bananapi.dts | 106 +- arch/arm/dts/sun7i-a20-bananapro.dts | 73 +- arch/arm/dts/sun7i-a20-cubieboard2.dts | 56 +- arch/arm/dts/sun7i-a20-cubietruck.dts | 84 +- arch/arm/dts/sun7i-a20-hummingbird.dts | 30 +- arch/arm/dts/sun7i-a20-i12-tvbox.dts | 34 +- arch/arm/dts/sun7i-a20-icnova-swac.dts | 6 +- arch/arm/dts/sun7i-a20-itead-ibox.dts | 12 +- arch/arm/dts/sun7i-a20-lamobo-r1.dts | 73 +- arch/arm/dts/sun7i-a20-m3.dts | 12 +- arch/arm/dts/sun7i-a20-mk808c.dts | 43 +- arch/arm/dts/sun7i-a20-olimex-som-evb.dts | 108 +- arch/arm/dts/sun7i-a20-olimex-som204-evb.dts | 42 +- arch/arm/dts/sun7i-a20-olinuxino-lime.dts | 58 +- .../dts/sun7i-a20-olinuxino-lime2-emmc.dts | 6 +- arch/arm/dts/sun7i-a20-olinuxino-lime2.dts | 154 +- arch/arm/dts/sun7i-a20-olinuxino-micro.dts | 116 +- arch/arm/dts/sun7i-a20-orangepi-mini.dts | 77 +- arch/arm/dts/sun7i-a20-orangepi.dts | 42 +- arch/arm/dts/sun7i-a20-pcduino3-nano.dts | 55 +- arch/arm/dts/sun7i-a20-pcduino3.dts | 26 +- arch/arm/dts/sun7i-a20-primo73.dts | 58 +- arch/arm/dts/sun7i-a20-wexler-tab7200.dts | 30 +- arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts | 20 +- arch/arm/dts/sun7i-a20.dtsi | 1505 +++++++---------- include/dt-bindings/clock/sun7i-a20-ccu.h | 53 + 27 files changed, 1500 insertions(+), 1411 deletions(-) create mode 100644 include/dt-bindings/clock/sun7i-a20-ccu.h
arch/arm/dts/sun7i-a20-bananapi-m1-plus.dts +30 -2
@@ -60,6 +60,17 @@ stdout-path = "serial0:115200n8"; }; + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_in: endpoint { + remote-endpoint = <&hdmi_out_con>; + }; + }; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default";
@@ -109,6 +120,10 @@ cpu-supply = <®_dcdc2>; }; +&de { + status = "okay"; +}; + &ehci0 { status = "okay"; };
@@ -130,6 +145,16 @@ }; }; +&hdmi { + status = "okay"; +}; + +&hdmi_out { + hdmi_out_con: endpoint { + remote-endpoint = <&hdmi_con_in>; + }; +}; + &i2c0 { pinctrl-names = "default"; pinctrl-0 = <&i2c0_pins_a>;
@@ -144,6 +169,10 @@ #include "axp209.dtsi" +&ac_power_supply { + status = "okay"; +}; + &ir0 { pinctrl-names = "default"; pinctrl-0 = <&ir0_rx_pins_a>;
@@ -155,8 +184,7 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_bpi_m1p>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */ - cd-inverted; + cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */ status = "okay"; };
arch/arm/dts/sun7i-a20-bananapi.dts +87 -19
152 lines not on this page · raw message
arch/arm/dts/sun7i-a20-bananapro.dts +35 -38
127 lines not on this page · raw message
arch/arm/dts/sun7i-a20-cubieboard2.dts +40 -16
112 lines not on this page · raw message
arch/arm/dts/sun7i-a20-cubietruck.dts +54 -30
166 lines not on this page · raw message
arch/arm/dts/sun7i-a20-hummingbird.dts +10 -20
@@ -48,7 +48,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Merrii A20 Hummingbird";
@@ -161,11 +160,10 @@ &mmc0 { pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + pinctrl-0 = <&mmc0_pins_a>; vmmc-supply = <®_vcc3v0>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -188,31 +186,23 @@ &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"; }; 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"; }; 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"; }; 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"; }; };
arch/arm/dts/sun7i-a20-i12-tvbox.dts +12 -22
@@ -46,7 +46,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "I12 / Q5 / QT840A A20 tvbox";
@@ -158,11 +157,10 @@ &mmc0 { pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + pinctrl-0 = <&mmc0_pins_a>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -174,7 +172,7 @@ non-removable; status = "okay"; - brcmf: bcrmf at 1 { + brcmf: wifi at 1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; interrupt-parent = <&pio>;
@@ -185,7 +183,7 @@ &mmc3_pins_a { /* AP6210 / AP6330 requires pull-up */ - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &ohci0 {
@@ -198,31 +196,23 @@ &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"; }; 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"; }; 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"; }; 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"; }; };
arch/arm/dts/sun7i-a20-icnova-swac.dts +2 -4
@@ -46,7 +46,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "ICnova-A20 SWAC";
@@ -105,11 +104,10 @@ &mmc0 { pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + pinctrl-0 = <&mmc0_pins_a>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 8 5 GPIO_ACTIVE_HIGH>; /* PI5 */ - cd-inverted; + cd-gpios = <&pio 8 5 GPIO_ACTIVE_LOW>; /* PI5 */ status = "okay"; };
arch/arm/dts/sun7i-a20-itead-ibox.dts +5 -7
@@ -121,20 +121,18 @@ &mmc0 { pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + pinctrl-0 = <&mmc0_pins_a>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; }; &pio { led_pins_itead_core: 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>; }; };
arch/arm/dts/sun7i-a20-lamobo-r1.dts +45 -28
141 lines not on this page · raw message
arch/arm/dts/sun7i-a20-m3.dts +4 -8
@@ -48,7 +48,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/interrupt-controller/irq.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Mele M3";
@@ -118,11 +117,10 @@ &mmc0 { pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + pinctrl-0 = <&mmc0_pins_a>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -145,10 +143,8 @@ &pio { led_pins_m3: 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"; }; };
arch/arm/dts/sun7i-a20-mk808c.dts +31 -12
84 lines not on this page · raw message
arch/arm/dts/sun7i-a20-olimex-som-evb.dts +82 -26
188 lines not on this page · raw message
arch/arm/dts/sun7i-a20-olimex-som204-evb.dts +40 -2
78 lines not on this page · raw message
arch/arm/dts/sun7i-a20-olinuxino-lime.dts +38 -20
105 lines not on this page · raw message
arch/arm/dts/sun7i-a20-olinuxino-lime2-emmc.dts +2 -4
@@ -57,10 +57,8 @@ &pio { mmc2_pins_nrst: mmc2-rst-pin { - allwinner,pins = "PC16"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PC16"; + function = "gpio_out"; }; };
arch/arm/dts/sun7i-a20-olinuxino-lime2.dts +82 -72
219 lines not on this page · raw message
arch/arm/dts/sun7i-a20-olinuxino-micro.dts +89 -27
194 lines not on this page · raw message
arch/arm/dts/sun7i-a20-orangepi-mini.dts +44 -33
137 lines not on this page · raw message
arch/arm/dts/sun7i-a20-orangepi.dts +15 -27
75 lines not on this page · raw message
arch/arm/dts/sun7i-a20-pcduino3-nano.dts +36 -19
96 lines not on this page · raw message
arch/arm/dts/sun7i-a20-pcduino3.dts +8 -18
@@ -48,7 +48,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> #include <dt-bindings/interrupt-controller/irq.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "LinkSprite pcDuino3";
@@ -107,10 +106,6 @@ status = "okay"; }; -&ahci_pwr_pin_a { - allwinner,pins = "PH2"; -}; - &codec { status = "okay"; };
@@ -161,7 +156,7 @@ &mmc0 { pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + pinctrl-0 = <&mmc0_pins_a>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
@@ -182,24 +177,19 @@ &pio { led_pins_pcduino3: 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"; }; key_pins_pcduino3: 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"; }; 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"; + bias-pull-up; }; };
arch/arm/dts/sun7i-a20-primo73.dts +24 -34
67 lines not on this page · raw message
arch/arm/dts/sun7i-a20-wexler-tab7200.dts +11 -19
@@ -151,11 +151,10 @@ &mmc0 { pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + pinctrl-0 = <&mmc0_pins_a>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -173,31 +172,24 @@ &pio { bl_enable_pin: bl_enable_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"; }; 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"; }; ts_reset_pin: ts_reset_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"; }; 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"; + bias-pull-up; }; };
arch/arm/dts/sun7i-a20-wits-pro-a20-dkt.dts +8 -12
@@ -120,11 +120,10 @@ &mmc0 { pinctrl-names = "default"; - pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>; + pinctrl-0 = <&mmc0_pins_a>; vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */ status = "okay"; };
@@ -137,7 +136,7 @@ non-removable; status = "okay"; - brcmf: bcrmf at 1 { + brcmf: wifi at 1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; interrupt-parent = <&pio>;
@@ -160,17 +159,14 @@ &pio { vmmc3_pin_ap6xxx_wl_regon: vmmc3_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"; }; 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"; + bias-pull-up; }; };
arch/arm/dts/sun7i-a20.dtsi +613 -892
622 lines not on this page · raw message
include/dt-bindings/clock/sun7i-a20-ccu.h new file +53 -0
53 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.18.0.321.gffc6fa0e3
Part of the diff is not shown here. View the raw message.
PATCH 5/7 ARM: dts: sun8i: Update A23/A33/r16 dts(i) files from Linux
In reply to Jagan TekiUpdate all A23/A33/r16 devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commits.
A23:
commit bc3bd041fe766219a44688b182c260064007f0cc
Author: Miquel Raynal <[email protected]> Date: Tue Apr 24 17:55:02 2018 +0200
ARM: dts: sun8i: a23/a33: declare NAND pins
A33:
commit 88fe315d2c0a397ef42d7639addab0e021ae911d
Author: Maxime Ripard <[email protected]> Date: Wed Apr 4 11:57:15 2018 +0200
ARM: dts: sun8i: a33: Add the DSI-related nodes
r16:
commit 9621d0bd1b0d61167e1853ac68cf4869c31bcc96
Author: Miquel Raynal <[email protected]> Date: Tue Apr 24 17:55:03 2018 +0200
ARM: dts: nes: add Nintendo NES/SuperNES Classic Edition support
Note:
- Drop pinctrl from sun8i-r16-nintendo-nes-classic-edition.dts since sun8i-a23-a33.dtsi is added with Linux sync.
- Don't sync non U-Boot supported dts files sun8i-a23-ippo-q8h-v1.2.dts
sun8i-a23-ippo-q8h-v5.dts
sun8i-a33-et-q8-v1.6.dts
sun8i-a33-ippo-q8h-v1.2.dts sun8i-r16-nintendo-nes-classic.dts sun8i-r16-nintendo-super-nes-classic.dts
--- arch/arm/dts/sun8i-a23-a33.dtsi | 112 ++++++++++-------- arch/arm/dts/sun8i-a23-evb.dts | 11 +- arch/arm/dts/sun8i-a23-gt90h-v4.dts | 5 +- arch/arm/dts/sun8i-a23-inet86dz.dts | 6 +- .../dts/sun8i-a23-polaroid-mid2407pxe03.dts | 34 +++--- .../dts/sun8i-a23-polaroid-mid2809pxe04.dts | 25 ++-- arch/arm/dts/sun8i-a23-q8-tablet.dts | 13 ++ arch/arm/dts/sun8i-a23.dtsi | 4 +- arch/arm/dts/sun8i-a33-ga10h-v1.1.dts | 5 +- arch/arm/dts/sun8i-a33-inet-d978-rev2.dts | 29 ++++- arch/arm/dts/sun8i-a33-olinuxino.dts | 66 ++++++----- arch/arm/dts/sun8i-a33-sinlinx-sina33.dts | 53 +++++++-- arch/arm/dts/sun8i-a33.dtsi | 63 ++++++++-- arch/arm/dts/sun8i-q8-common.dtsi | 30 +---- arch/arm/dts/sun8i-r16-bananapi-m2m.dts | 3 +- ...sun8i-r16-nintendo-nes-classic-edition.dts | 2 - arch/arm/dts/sun8i-r16-parrot.dts | 50 ++++---- .../dts/sun8i-reference-design-tablet.dtsi | 59 ++++----- 18 files changed, 338 insertions(+), 232 deletions(-)
arch/arm/dts/sun8i-a23-a33.dtsi +64 -48
@@ -118,13 +118,13 @@ }; }; - soc at 01c00000 { + soc at 1c00000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; ranges; - dma: dma-controller at 01c02000 { + dma: dma-controller at 1c02000 { compatible = "allwinner,sun8i-a23-dma"; reg = <0x01c02000 0x1000>; interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
@@ -133,7 +133,7 @@ #dma-cells = <1>; }; - mmc0: mmc at 01c0f000 { + mmc0: mmc at 1c0f000 { compatible = "allwinner,sun7i-a20-mmc"; reg = <0x01c0f000 0x1000>; clocks = <&ccu CLK_BUS_MMC0>,
@@ -152,7 +152,7 @@ #size-cells = <0>; }; - mmc1: mmc at 01c10000 { + mmc1: mmc at 1c10000 { compatible = "allwinner,sun7i-a20-mmc"; reg = <0x01c10000 0x1000>; clocks = <&ccu CLK_BUS_MMC1>,
@@ -171,7 +171,7 @@ #size-cells = <0>; }; - mmc2: mmc at 01c11000 { + mmc2: mmc at 1c11000 { compatible = "allwinner,sun7i-a20-mmc"; reg = <0x01c11000 0x1000>; clocks = <&ccu CLK_BUS_MMC2>,
@@ -190,7 +190,7 @@ #size-cells = <0>; }; - nfc: nand at 01c03000 { + nfc: nand at 1c03000 { compatible = "allwinner,sun4i-a10-nand"; reg = <0x01c03000 0x1000>; interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
@@ -198,12 +198,14 @@ clock-names = "ahb", "mod"; resets = <&ccu RST_BUS_NAND>; reset-names = "ahb"; + pinctrl-names = "default"; + pinctrl-0 = <&nand_pins &nand_pins_cs0 &nand_pins_rb0>; status = "disabled"; #address-cells = <1>; #size-cells = <0>; }; - usb_otg: usb at 01c19000 { + usb_otg: usb at 1c19000 { /* compatible gets set in SoC specific dtsi file */ reg = <0x01c19000 0x0400>; clocks = <&ccu CLK_BUS_OTG>;
@@ -216,7 +218,7 @@ status = "disabled"; }; - usbphy: phy at 01c19400 { + usbphy: phy at 1c19400 { /* * compatible and address regions get set in * SoC specific dtsi file
@@ -233,7 +235,7 @@ #phy-cells = <1>; }; - ehci0: usb at 01c1a000 { + ehci0: usb at 1c1a000 { compatible = "allwinner,sun8i-a23-ehci", "generic-ehci"; reg = <0x01c1a000 0x100>; interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
@@ -244,7 +246,7 @@ status = "disabled"; }; - ohci0: usb at 01c1a400 { + ohci0: usb at 1c1a400 { compatible = "allwinner,sun8i-a23-ohci", "generic-ohci"; reg = <0x01c1a400 0x100>; interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
@@ -255,7 +257,7 @@ status = "disabled"; }; - ccu: clock at 01c20000 { + ccu: clock at 1c20000 { reg = <0x01c20000 0x400>; clocks = <&osc24M>, <&rtc 0>; clock-names = "hosc", "losc";
@@ -263,7 +265,7 @@ #reset-cells = <1>; }; - pio: pinctrl at 01c20800 { + pio: pinctrl at 1c20800 { /* compatible gets set in SoC specific dtsi file */ reg = <0x01c20800 0x400>; /* interrupts get set in SoC specific dtsi file */
@@ -289,23 +291,6 @@ function = "uart1"; }; - nand_pins_a: nand-base0 at 0 { - pins = "PC0", "PC1", "PC2", "PC5", - "PC8", "PC9", "PC10", "PC11", - "PC12", "PC13", "PC14", "PC15"; - function = "nand0"; - }; - - nand_cs0_pins_a: nand-cs at 0 { - pins = "PC4"; - function = "nand0"; - }; - - nand_rb0_pins_a: nand-rb at 0 { - pins = "PC6"; - function = "nand0"; - }; - mmc0_pins_a: mmc0 at 0 { pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5";
@@ -332,6 +317,37 @@ bias-pull-up; }; + nand_pins: nand-pins { + pins = "PC0", "PC1", "PC2", "PC5", + "PC8", "PC9", "PC10", "PC11", + "PC12", "PC13", "PC14", "PC15"; + function = "nand0"; + }; + + nand_pins_cs0: nand-pins-cs0 { + pins = "PC4"; + function = "nand0"; + bias-pull-up; + }; + + nand_pins_cs1: nand-pins-cs1 { + pins = "PC3"; + function = "nand0"; + bias-pull-up; + }; + + nand_pins_rb0: nand-pins-rb0 { + pins = "PC6"; + function = "nand0"; + bias-pull-up; + }; + + nand_pins_rb1: nand-pins-rb1 { + pins = "PC7"; + function = "nand0"; + bias-pull-up; + }; + pwm0_pins: pwm0 { pins = "PH0"; function = "pwm0";
@@ -361,7 +377,7 @@ }; }; - timer at 01c20c00 { + timer at 1c20c00 { compatible = "allwinner,sun4i-a10-timer"; reg = <0x01c20c00 0xa0>; interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
@@ -369,13 +385,13 @@ clocks = <&osc24M>; }; - wdt0: watchdog at 01c20ca0 { + wdt0: watchdog at 1c20ca0 { compatible = "allwinner,sun6i-a31-wdt"; reg = <0x01c20ca0 0x20>; interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; }; - pwm: pwm at 01c21400 { + pwm: pwm at 1c21400 { compatible = "allwinner,sun7i-a20-pwm"; reg = <0x01c21400 0xc>; clocks = <&osc24M>;
@@ -383,14 +399,14 @@ status = "disabled"; }; - lradc: lradc at 01c22800 { + lradc: lradc at 1c22800 { compatible = "allwinner,sun4i-a10-lradc-keys"; reg = <0x01c22800 0x100>; interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; }; - uart0: serial at 01c28000 { + uart0: serial at 1c28000 { compatible = "snps,dw-apb-uart"; reg = <0x01c28000 0x400>; interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
@@ -403,7 +419,7 @@ status = "disabled"; }; - uart1: serial at 01c28400 { + uart1: serial at 1c28400 { compatible = "snps,dw-apb-uart"; reg = <0x01c28400 0x400>; interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
@@ -416,7 +432,7 @@ status = "disabled"; }; - uart2: serial at 01c28800 { + uart2: serial at 1c28800 { compatible = "snps,dw-apb-uart"; reg = <0x01c28800 0x400>; interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
@@ -429,7 +445,7 @@ status = "disabled"; }; - uart3: serial at 01c28c00 { + uart3: serial at 1c28c00 { compatible = "snps,dw-apb-uart"; reg = <0x01c28c00 0x400>; interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
@@ -442,7 +458,7 @@ status = "disabled"; }; - uart4: serial at 01c29000 { + uart4: serial at 1c29000 { compatible = "snps,dw-apb-uart"; reg = <0x01c29000 0x400>; interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
@@ -455,7 +471,7 @@ status = "disabled"; }; - i2c0: i2c at 01c2ac00 { + i2c0: i2c at 1c2ac00 { compatible = "allwinner,sun6i-a31-i2c"; reg = <0x01c2ac00 0x400>; interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
@@ -466,7 +482,7 @@ #size-cells = <0>; }; - i2c1: i2c at 01c2b000 { + i2c1: i2c at 1c2b000 { compatible = "allwinner,sun6i-a31-i2c"; reg = <0x01c2b000 0x400>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
@@ -477,7 +493,7 @@ #size-cells = <0>; }; - i2c2: i2c at 01c2b400 { + i2c2: i2c at 1c2b400 { compatible = "allwinner,sun6i-a31-i2c"; reg = <0x01c2b400 0x400>; interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
@@ -515,7 +531,7 @@ assigned-clock-rates = <384000000>; }; - gic: interrupt-controller at 01c81000 { + gic: interrupt-controller at 1c81000 { compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic"; reg = <0x01c81000 0x1000>, <0x01c82000 0x2000>,
@@ -526,7 +542,7 @@ interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; }; - rtc: rtc at 01f00000 { + rtc: rtc at 1f00000 { compatible = "allwinner,sun6i-a31-rtc"; reg = <0x01f00000 0x54>; interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
@@ -544,7 +560,7 @@ interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; }; - prcm at 01f01400 { + prcm at 1f01400 { compatible = "allwinner,sun8i-a23-prcm"; reg = <0x01f01400 0x200>;
@@ -592,12 +608,12 @@ }; }; - cpucfg at 01f01c00 { + cpucfg at 1f01c00 { compatible = "allwinner,sun8i-a23-cpuconfig"; reg = <0x01f01c00 0x300>; }; - r_uart: serial at 01f02800 { + r_uart: serial at 1f02800 { compatible = "snps,dw-apb-uart"; reg = <0x01f02800 0x400>; interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
@@ -608,7 +624,7 @@ status = "disabled"; }; - r_pio: pinctrl at 01f02c00 { + r_pio: pinctrl at 1f02c00 { compatible = "allwinner,sun8i-a23-r-pinctrl"; reg = <0x01f02c00 0x400>; interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
@@ -635,7 +651,7 @@ }; }; - r_rsb: rsb at 01f03400 { + r_rsb: rsb at 1f03400 { compatible = "allwinner,sun8i-a23-rsb"; reg = <0x01f03400 0x400>; interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
arch/arm/dts/sun8i-a23-evb.dts +4 -7
@@ -48,7 +48,6 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> -#include <dt-bindings/pinctrl/sun4i-a10.h> / { model = "Allwinner A23 Evaluation Board";
@@ -108,17 +107,15 @@ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_evb>; vmmc-supply = <®_vcc3v0>; bus-width = <4>; - cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */ - cd-inverted; + cd-gpios = <&pio 1 4 GPIO_ACTIVE_LOW>; /* PB4 */ status = "okay"; }; &pio { mmc0_cd_pin_evb: mmc0_cd_pin at 0 { - allwinner,pins = "PB4"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PB4"; + function = "gpio_in"; + bias-pull-up; }; };
arch/arm/dts/sun8i-a23-gt90h-v4.dts +3 -2
@@ -53,9 +53,10 @@ status = "okay"; }; -&gsl1680 { +&touchscreen { + reg = <0x40>; compatible = "silead,gsl3675"; - touchscreen-fw-name = "silead/gsl3675-gt90h.fw"; + firmware-name = "gsl3675-gt90h.fw"; touchscreen-size-x = <1792>; touchscreen-size-y = <1024>; status = "okay";
arch/arm/dts/sun8i-a23-inet86dz.dts +4 -2
@@ -53,10 +53,12 @@ status = "okay"; }; -&gsl1680 { +&touchscreen { + reg = <0x40>; + compatible = "silead,gsl1680"; + firmware-name = "gsl1680-inet86dz.fw"; touchscreen-size-x = <960>; touchscreen-size-y = <640>; - touchscreen-fw-name = "silead/gsl1680-inet86dz.fw"; status = "okay"; };
arch/arm/dts/sun8i-a23-polaroid-mid2407pxe03.dts +17 -17
@@ -62,14 +62,11 @@ }; }; -&gsl1680 { - vddio-supply = <®_ldo_io1>; - touchscreen-size-x = <960>; - touchscreen-size-y = <640>; - touchscreen-inverted-x; - touchscreen-inverted-y; - touchscreen-fw-name = "silead/gsl1680-polaroid-mid2407pxe03.fw"; - status = "okay"; +&i2c1 { + mma7660: accelerometer at 4c { + reg = <0x4c>; + compatible = "fsl,mma7660"; + }; }; &mmc1 {
@@ -89,21 +86,24 @@ }; &mmc1_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &r_pio { wifi_pwrseq_pin_mid2407: wifi_pwrseq_pin at 0 { - allwinner,pins = "PL6"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PL6"; + function = "gpio_out"; }; }; -®_ldo_io1 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-name = "vcc-touchscreen"; +&touchscreen { + reg = <0x40>; + compatible = "silead,gsl1680"; + firmware-name = "gsl1680-polaroid-mid2407pxe03.fw"; + touchscreen-size-x = <960>; + touchscreen-size-y = <640>; + touchscreen-inverted-x; + touchscreen-inverted-y; + vddio-supply = <®_ldo_io1>; status = "okay"; };
arch/arm/dts/sun8i-a23-polaroid-mid2809pxe04.dts +12 -13
@@ -62,14 +62,6 @@ }; }; -&gsl1680 { - compatible = "silead,gsl3670"; - touchscreen-fw-name = "silead/gsl3670-polaroid-mid2809pxe04.fw"; - touchscreen-size-x = <1660>; - touchscreen-size-y = <890>; - status = "okay"; -}; - &mmc1 { pinctrl-names = "default"; pinctrl-0 = <&mmc1_pins_a>;
@@ -87,14 +79,21 @@ }; &mmc1_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &r_pio { wifi_pwrseq_pin_mid2809: wifi_pwrseq_pin at 0 { - allwinner,pins = "PL6"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PL6"; + function = "gpio_out"; }; }; + +&touchscreen { + reg = <0x40>; + compatible = "silead,gsl3670"; + firmware-name = "gsl3670-polaroid-mid2809pxe04.fw"; + touchscreen-size-x = <1660>; + touchscreen-size-y = <890>; + status = "okay"; +};
arch/arm/dts/sun8i-a23-q8-tablet.dts +13 -0
@@ -48,3 +48,16 @@ model = "Q8 A23 Tablet"; compatible = "allwinner,q8-a23", "allwinner,sun8i-a23"; }; + +&codec { + allwinner,pa-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ + allwinner,audio-routing = + "Headphone", "HP", + "Headphone", "HPCOM", + "Speaker", "HP", + "MIC1", "Mic", + "MIC2", "Headset Mic", + "Mic", "MBIAS", + "Headset Mic", "HBIAS"; + status = "okay"; +};
arch/arm/dts/sun8i-a23.dtsi +2 -2
@@ -49,8 +49,8 @@ reg = <0x40000000 0x40000000>; }; - soc at 01c00000 { - codec: codec at 01c22c00 { + soc at 1c00000 { + codec: codec at 1c22c00 { #sound-dai-cells = <0>; compatible = "allwinner,sun8i-a23-codec"; reg = <0x01c22c00 0x400>;
arch/arm/dts/sun8i-a33-ga10h-v1.1.dts +3 -2
@@ -58,9 +58,10 @@ status = "okay"; }; -&gsl1680 { +&touchscreen { + reg = <0x40>; compatible = "silead,gsl3675"; - touchscreen-fw-name = "silead/gsl3675-ga10h.fw"; + firmware-name = "gsl3675-ga10h.fw"; touchscreen-size-x = <1630>; touchscreen-size-y = <990>; touchscreen-inverted-y;
arch/arm/dts/sun8i-a33-inet-d978-rev2.dts +24 -5
@@ -49,6 +49,15 @@ model = "INet-D978 Rev 02"; compatible = "primux,inet-d978-rev2", "allwinner,sun8i-a33"; + aliases { + serial0 = &uart1; + }; + + chosen { + /* Delete debug UART as serial0 is the UART for bluetooth */ + /delete-property/stdout-path; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default";
@@ -62,7 +71,7 @@ }; &mmc1_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &mmc1 {
@@ -80,9 +89,19 @@ &r_pio { led_pin_d978: led_pin_d978 at 0 { - allwinner,pins = "PL5"; - allwinner,function = "gpio_out"; - allwinner,drive = <SUN4I_PINCTRL_20_MA>; - allwinner,pull = <SUN4I_PINCTRL_NO_PULL>; + pins = "PL5"; + function = "gpio_out"; + drive-strength = <20>; }; }; + +&r_uart { + status = "disabled"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins_a>, + <&uart1_pins_cts_rts_a>; + status = "okay"; +};
arch/arm/dts/sun8i-a33-olinuxino.dts +34 -32
116 lines not on this page · raw message
arch/arm/dts/sun8i-a33-sinlinx-sina33.dts +42 -11
102 lines not on this page · raw message
arch/arm/dts/sun8i-a33.dtsi +53 -10
121 lines not on this page · raw message
arch/arm/dts/sun8i-q8-common.dtsi +4 -26
@@ -49,13 +49,6 @@ ethernet0 = &sdio_wifi; }; - q8_hardwaremgr { - compatible = "allwinner,sunxi-q8-hardwaremgr"; - touchscreen-i2c-bus = <&i2c0>; - touchscreen-supply = <®_ldo_io1>; - touchscreen-power-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */ - }; - wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; /*
@@ -90,32 +83,17 @@ }; &mmc1_pins_a { - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + bias-pull-up; }; &r_pio { wifi_pwrseq_pin_q8: wifi_pwrseq_pin at 0 { - allwinner,pins = "PL6", "PL7", "PL11"; - allwinner,function = "gpio_in"; - allwinner,drive = <SUN4I_PINCTRL_10_MA>; - allwinner,pull = <SUN4I_PINCTRL_PULL_UP>; + pins = "PL6", "PL7", "PL11"; + function = "gpio_in"; + bias-pull-up; }; }; &usbphy { usb1_vbus-supply = <®_dldo1>; }; - -&gsl1680 { - touchscreen-size-x = <1024>; - touchscreen-size-y = <600>; - touchscreen-fw-name = "silead/gsl1680-q8-700.fw"; - status = "okay"; -}; - -®_ldo_io1 { - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - regulator-name = "vcc-touchscreen"; - status = "okay"; -};
arch/arm/dts/sun8i-r16-bananapi-m2m.dts +1 -2
@@ -150,8 +150,7 @@ pinctrl-0 = <&mmc0_pins_a>; vmmc-supply = <®_dcdc1>; bus-width = <4>; - cd-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */ - cd-inverted; + cd-gpios = <&pio 1 4 GPIO_ACTIVE_LOW>; /* PB4 */ status = "okay"; };
arch/arm/dts/sun8i-r16-nintendo-nes-classic-edition.dts +0 -2
@@ -63,8 +63,6 @@ }; &nfc { - pinctrl-names = "default"; - pinctrl-0 = <&nand_pins_a &nand_cs0_pins_a &nand_rb0_pins_a>; status = "okay"; nand at 0 {
arch/arm/dts/sun8i-r16-parrot.dts +27 -23
94 lines not on this page · raw message
arch/arm/dts/sun8i-reference-design-tablet.dtsi +31 -28
109 lines not on this page · raw message
Signature · 1 line
2.18.0.321.gffc6fa0e3
PATCH 6/7 ARM: dts: sun8i: Update A83T dts(i) files from Linux
In reply to Jagan TekiUpdate all A83T devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit:
commit 221cb9fd2ee3042689fe0e6613d0f34eb46a5af6
Author: Mylène Josserand <[email protected]> Date: Fri May 4 21:05:44 2018 +0200
ARM: dts: sun8i: Add enable-method for SMP support for the A83T SoC
Note: bananapi-m3 and cubietruck-plus board dts files has usb_otg enabled in U-Boot which were not present in Linux.
--- arch/arm/dts/axp81x.dtsi | 169 ++++ .../dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 195 +++- arch/arm/dts/sun8i-a83t-bananapi-m3.dts | 298 +++++- arch/arm/dts/sun8i-a83t-cubietruck-plus.dts | 322 ++++++- arch/arm/dts/sun8i-a83t-tbs-a711.dts | 355 ++++++- arch/arm/dts/sun8i-a83t.dtsi | 885 ++++++++++++++++-- include/dt-bindings/clock/sun8i-a83t-ccu.h | 140 +++ include/dt-bindings/reset/sun8i-a83t-ccu.h | 98 ++ 8 files changed, 2382 insertions(+), 80 deletions(-) create mode 100644 arch/arm/dts/axp81x.dtsi create mode 100644 include/dt-bindings/clock/sun8i-a83t-ccu.h create mode 100644 include/dt-bindings/reset/sun8i-a83t-ccu.h
arch/arm/dts/axp81x.dtsi new file +169 -0
@@ -0,0 +1,169 @@ +/* + * Copyright 2017 Chen-Yu Tsai + * + * Chen-Yu Tsai <[email protected]> + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/* AXP813/818 Integrated Power Management Chip */ + +&axp81x { + interrupt-controller; + #interrupt-cells = <1>; + + axp_adc: adc { + compatible = "x-powers,axp813-adc"; + #io-channel-cells = <1>; + }; + + axp_gpio: gpio { + compatible = "x-powers,axp813-gpio"; + gpio-controller; + #gpio-cells = <2>; + + gpio0_ldo: gpio0-ldo { + pins = "GPIO0"; + function = "ldo"; + }; + + gpio1_ldo: gpio1-ldo { + pins = "GPIO1"; + function = "ldo"; + }; + }; + + battery_power_supply: battery-power-supply { + compatible = "x-powers,axp813-battery-power-supply"; + status = "disabled"; + }; + + regulators { + /* Default work frequency for buck regulators */ + x-powers,dcdc-freq = <3000>; + + reg_dcdc1: dcdc1 { + }; + + reg_dcdc2: dcdc2 { + }; + + reg_dcdc3: dcdc3 { + }; + + reg_dcdc4: dcdc4 { + }; + + reg_dcdc5: dcdc5 { + }; + + reg_dcdc6: dcdc6 { + }; + + reg_dcdc7: dcdc7 { + }; + + reg_aldo1: aldo1 { + }; + + reg_aldo2: aldo2 { + }; + + reg_aldo3: aldo3 { + }; + + reg_dldo1: dldo1 { + }; + + reg_dldo2: dldo2 { + }; + + reg_dldo3: dldo3 { + }; + + reg_dldo4: dldo4 { + }; + + reg_eldo1: eldo1 { + }; + + reg_eldo2: eldo2 { + }; + + reg_eldo3: eldo3 { + }; + + reg_fldo1: fldo1 { + }; + + reg_fldo2: fldo2 { + }; + + reg_fldo3: fldo3 { + }; + + reg_ldo_io0: ldo-io0 { + pinctrl-names = "default"; + pinctrl-0 = <&gpio0_ldo>; + /* Disable by default to avoid conflicts with GPIO */ + status = "disabled"; + }; + + reg_ldo_io1: ldo-io1 { + pinctrl-names = "default"; + pinctrl-0 = <&gpio1_ldo>; + /* Disable by default to avoid conflicts with GPIO */ + status = "disabled"; + }; + + reg_rtc_ldo: rtc-ldo { + /* RTC_LDO is a fixed, always-on regulator */ + regulator-always-on; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + + reg_sw: sw { + }; + + reg_drivevbus: drivevbus { + status = "disabled"; + }; + }; +};
arch/arm/dts/sun8i-a83t-allwinner-h8homlet-v2.dts +194 -1
222 lines not on this page · raw message
arch/arm/dts/sun8i-a83t-bananapi-m3.dts +293 -5
328 lines not on this page · raw message
arch/arm/dts/sun8i-a83t-cubietruck-plus.dts +321 -1
354 lines not on this page · raw message
arch/arm/dts/sun8i-a83t-tbs-a711.dts +351 -4
390 lines not on this page · raw message
arch/arm/dts/sun8i-a83t.dtsi +816 -69
1,023 lines not on this page · raw message
include/dt-bindings/clock/sun8i-a83t-ccu.h new file +140 -0
140 lines not on this page · raw message
include/dt-bindings/reset/sun8i-a83t-ccu.h new file +98 -0
98 lines not on this page · raw message
Signature · 1 line
2.18.0.321.gffc6fa0e3
PATCH 6/7 ARM: dts: sun8i: Update A83T dts(i) files from Linux
Quoted 6 lines · Jagan Teki
Update all A83T devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit:
commit221cb9fd2ee3042689fe0e6613d0f34eb46a5af6Author: Mylène Josserand <[email protected]> Date: Fri May 4 21:05:44 2018 +0200
Quoted 7 lines
ARM: dts: sun8i: Add enable-method for SMP support for the A83T SoC
Note: bananapi-m3 and cubietruck-plus board dts files has
usb_otgenabled in U-Boot which were not present in Linux.Signed-off-by Jagan Teki <[email protected]>---
Applied to u-boot-sunxi/master
PATCH 7/7 ARM: dts: sun8i: Update R40/V40 dts(i) files from Linux
In reply to Jagan TekiUpdate all R40/V40 devicetree dtsi and dtsi files from Linux-v4.18-rc3 with below commit:
R40:
commit c36fd5a48bd20820855e3e91a89297eeaa31836e
Author: Chen-Yu Tsai <[email protected]> Date: Wed May 2 00:12:25 2018 +0800
ARM: dts: sun8i: r40: bananapi-m2-ultra: Enable GMAC ethernet controller
V40:
commit c5f0bb472795170ab5c33be12e29ce7465fb31ed
Author: Icenowy Zheng <[email protected]> Date: Fri Apr 6 22:03:44 2018 +0800
ARM: sun8i: v40: enable USB host ports for Banana Pi M2 Berry
--- arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 168 +++++++++- arch/arm/dts/sun8i-r40.dtsi | 303 +++++++++++++++++-- arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts | 50 +++ 3 files changed, 486 insertions(+), 35 deletions(-)
arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts +161 -7
@@ -1,5 +1,6 @@ /* - * Copyright (C) 2016 Chen-Yu Tsai <[email protected]> + * Copyright (C) 2017 Chen-Yu Tsai <[email protected]> + * Copyright (C) 2017 Icenowy Zheng <[email protected]> * * This file is dual-licensed: you can use it either under the terms * of the GPL or the X11 license, at your option. Note that this dual
@@ -43,6 +44,8 @@ /dts-v1/; #include "sun8i-r40.dtsi" +#include <dt-bindings/gpio/gpio.h> + / { model = "Banana Pi BPI-M2-Ultra"; compatible = "sinovoip,bpi-m2-ultra", "allwinner,sun8i-r40";
@@ -55,17 +58,47 @@ chosen { stdout-path = "serial0:115200n8"; }; + + leds { + compatible = "gpio-leds"; + + pwr-led { + label = "bananapi:red:pwr"; + gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + + user-led-green { + label = "bananapi:green:user"; + gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; + }; + + user-led-blue { + label = "bananapi:blue:user"; + gpios = <&pio 7 22 GPIO_ACTIVE_HIGH>; + }; + }; + + reg_vcc5v0: vcc5v0 { + compatible = "regulator-fixed"; + regulator-name = "vcc5v0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>; /* PH23 */ + enable-active-high; + }; + + wifi_pwrseq: wifi_pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&pio 6 10 GPIO_ACTIVE_LOW>; /* PG10 WIFI_EN */ + }; }; -&i2c0 { - pinctrl-names = "default"; - pinctrl-0 = <&i2c0_pins>; +&ehci1 { status = "okay"; }; -&uart0 { - pinctrl-names = "default"; - pinctrl-0 = <&uart0_pb_pins>; +&ehci2 { status = "okay"; };
@@ -74,6 +107,7 @@ pinctrl-0 = <&gmac_rgmii_pins>; phy-handle = <&phy1>; phy-mode = "rgmii"; + phy-supply = <®_dc1sw>; status = "okay"; };
@@ -83,3 +117,123 @@ reg = <1>; }; }; + +&i2c0 { + status = "okay"; + + axp22x: pmic at 34 { + compatible = "x-powers,axp221"; + reg = <0x34>; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + }; +}; + +#include "axp22x.dtsi" + +&mmc0 { + vmmc-supply = <®_dcdc1>; + bus-width = <4>; + cd-gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>; /* PH13 */ + cd-inverted; + status = "okay"; +}; + +&mmc1 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pg_pins>; + vmmc-supply = <®_dldo2>; + vqmmc-supply = <®_dldo1>; + mmc-pwrseq = <&wifi_pwrseq>; + bus-width = <4>; + non-removable; + status = "okay"; +}; + +&mmc2 { + vmmc-supply = <®_dcdc1>; + vqmmc-supply = <®_dcdc1>; + bus-width = <8>; + non-removable; + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + +®_aldo2 { + regulator-always-on; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-name = "vcc-pa"; +}; + +®_aldo3 { + regulator-always-on; + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <3300000>; + regulator-name = "avcc"; +}; + +®_dc1sw { + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "vcc-gmac-phy"; +}; + +®_dcdc1 { + regulator-always-on; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-name = "vcc-3v0"; +}; + +®_dcdc2 { + regulator-always-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1300000>; + regulator-name = "vdd-cpu"; +}; + +®_dcdc3 { + regulator-always-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1300000>; + regulator-name = "vdd-sys"; +}; + +®_dcdc5 { + regulator-always-on; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + regulator-name = "vcc-dram"; +}; + +®_dldo1 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-wifi-io"; +}; + +®_dldo2 { + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "vcc-wifi"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; +}; + +&usbphy { + usb1_vbus-supply = <®_vcc5v0>; + usb2_vbus-supply = <®_vcc5v0>; + status = "okay"; +};
arch/arm/dts/sun8i-r40.dtsi +275 -28
389 lines not on this page · raw message
arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts +50 -0
64 lines not on this page · raw message
Signature · 1 line
2.18.0.321.gffc6fa0e3
cover ARM: dts: sunxi: Update dts(i) files from
In reply to Jagan TekiQuoted 3 lines · Jagan Teki
This series is trying to update SoC dtsi and board dts files for Allwinner sun4i, 5i, 6i, 8i-a23/a33/a83t, r40 SoC's from Linux-4.18-rc3
Could you also mention the tag in each patch's subject line? That would make it more informative.
The actual commit as reported by git log, as you detailed in the commit message, is less important since it may vary between each file.
ChenYu
Quoted 18 lines
These update is useful for supporting features
CLK, RESET,DM_MMCetcSince H3/H5/A64 is already updated with Linux-4.18-rc3, this series use same version to maintain proper compatibility for all SoC platforms syncs.
thanks,
Jagan.Jagan Teki (7):
ARM: dts: sun4i: Update A10 dts(i) files from Linux
ARM: dts: sun5i: Update A10s/A13/gr8/r8 dts(i) files from Linux
ARM: dts: sun6i: Update A31/A31s dts(i) files from Linux
ARM: dts: sun7i: Update A20 dts(i) files from Linux
ARM: dts: sun8i: Update A23/A33/r16 dts(i) files from Linux
ARM: dts: sun8i: Update A83T dts(i) files from Linux
ARM: dts: sun8i: Update R40/V40 dts(i) files from Linux