ARM: dts: sun8i: Add dt node for rtl8703as wifi chip on ga10h
authorHans de Goede <hdegoede@redhat.com>
Mon, 8 Aug 2016 19:43:12 +0000 (21:43 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 22 Aug 2016 18:34:48 +0000 (20:34 +0200)
The ga10h tablet has a rtl8703as wifi chip, add a dt node describing it.

This enables usage of wifi on this tablet (together with the out of
tree rtl8732bs driver).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts

index 6566032..de6269d 100644 (file)
 / {
        model = "Allwinner GA10H Quad Core Tablet (v1.1)";
        compatible = "allwinner,ga10h-v1.1", "allwinner,sun8i-a33";
+
+       aliases {
+               /* Make u-boot set mac-address for rtl8703as (no eeprom) */
+               ethernet0 = &rtl8703as;
+       };
 };
 
 &ehci0 {
        };
 };
 
+&mmc1 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&mmc1_pins_a>;
+       vmmc-supply = <&reg_dldo1>;
+       bus-width = <4>;
+       non-removable;
+       status = "okay";
+
+       rtl8703as: sdio_wifi@1 {
+               reg = <1>;
+       };
+};
+
 &ohci0 {
        status = "okay";
 };