From mboxrd@z Thu Jan 1 00:00:00 1970 From: "jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Subject: Re: [PATCH] ARM: dts: sun8i: Add dts file for the GA10H-A33 tablet Date: Tue, 2 Jun 2015 16:18:14 -0400 Message-ID: References: <1433274598-17366-1-git-send-email-hdegoede@redhat.com> Reply-To: jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113496f261980b05178ea4b4 Return-path: In-Reply-To: <1433274598-17366-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Hans de Goede Cc: Maxime Ripard , ARM Linux Mailing List , devicetree , linux-sunxi List-Id: devicetree@vger.kernel.org --001a113496f261980b05178ea4b4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I have one of these GA10H-A33 and tore it apart. They used an uncommon wifi/BT chip - RDA5990P. Took mine apart since the wifi didn't work worth two cents. http://www.rdaic.com/sites/default/files/public/RDA5990P_datasheet_V1.4.pdf Is that unpopulated pad next to the RSA5990P an option to use an Ampak module? I am looking for a A33 PCBA where I can mount a 5Ghz wi-fi module. =E2=80=8B IMG_0066.JPG =E2=80=8B=E2=80=8B IMG_0067.JPG =E2=80=8B On Tue, Jun 2, 2015 at 3:49 PM, Hans de Goede wrote: > The ga10h is an 10" tablet with an A33 or A23 soc, 1G RAM, 8G or 16G nand= , > sdio wifi, 2 micro usb ports, 1 otg and 1 host and 1 micro sd slot. > > This commit adds a dts file for the v1.1 pcb with an a33 soc. > > Signed-off-by: Hans de Goede > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts | 118 > +++++++++++++++++++++++++++++ > 2 files changed, 119 insertions(+) > create mode 100644 arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index a413d7b..7f782d2 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -575,6 +575,7 @@ dtb-$(CONFIG_MACH_SUN8I) +=3D \ > sun8i-a23-ippo-q8h-v5.dtb \ > sun8i-a23-ippo-q8h-v1.2.dtb \ > sun8i-a33-et-q8-v1.6.dtb \ > + sun8i-a33-ga10h-v1.1.dtb \ > sun8i-a33-ippo-q8h-v1.2-lcd1024x600.dtb > dtb-$(CONFIG_MACH_SUN9I) +=3D \ > sun9i-a80-optimus.dtb \ > diff --git a/arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts > b/arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts > new file mode 100644 > index 0000000..0c55954 > --- /dev/null > +++ b/arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts > @@ -0,0 +1,118 @@ > +/* > + * Copyright 2015 Hans de Goede > + * > + * 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 th= e > + * 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. > + */ > + > +/dts-v1/; > +#include "sun8i-a33.dtsi" > +#include "sunxi-common-regulators.dtsi" > + > +#include > +#include > +#include > + > +/ { > + model =3D "Allwinner GA10H Quad Core Tablet (v1.1)"; > + compatible =3D "allwinner,ga10h-v1.1", "allwinner,sun8i-a33"; > + > + aliases { > + serial0 =3D &r_uart; > + }; > + > + chosen { > + stdout-path =3D "serial0:115200n8"; > + }; > +}; > + > +&i2c0 { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&i2c0_pins_a>; > + status =3D "okay"; > +}; > + > +&i2c1 { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&i2c1_pins_a>; > + status =3D "okay"; > +}; > + > +&lradc { > + vref-supply =3D <®_vcc3v0>; > + status =3D "okay"; > + > + button@200 { > + label =3D "Volume Up"; > + linux,code =3D ; > + channel =3D <0>; > + voltage =3D <200000>; > + }; > + > + button@400 { > + label =3D "Volume Down"; > + linux,code =3D ; > + channel =3D <0>; > + voltage =3D <400000>; > + }; > +}; > + > +&mmc0 { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&mmc0_pins_a>, <&mmc0_cd_pin_q8h>; > + vmmc-supply =3D <®_vcc3v0>; > + bus-width =3D <4>; > + cd-gpios =3D <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */ > + cd-inverted; > + status =3D "okay"; > +}; > + > +&pio { > + mmc0_cd_pin_q8h: mmc0_cd_pin@0 { > + allwinner,pins =3D "PB4"; > + allwinner,function =3D "gpio_in"; > + allwinner,drive =3D ; > + allwinner,pull =3D ; > + }; > +}; > + > +&r_uart { > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&r_uart_pins_a>; > + status =3D "okay"; > +}; > -- > 2.3.6 > > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit https://groups.google.com/d/optout. > --=20 Jon Smirl jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --=20 You received this message because you are subscribed to the Google Groups "= linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout. --001a113496f261980b05178ea4b4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have one of these GA10H-A33 and tore it apart. They used= an uncommon wifi/BT chip - RDA5990P. Took mine apart since the wifi didn&#= 39;t work worth two cents.

Is that unpopulated pad next to the RSA5990P an option to use an Ampak m= odule? I am looking for a A33 PCBA where I can mount a 5Ghz wi-fi module.


=E2=80=8B
=E2=80=8B=E2=80=8B
=C2=A0IMG_0067.JPG
= =E2=80=8B

On Tue, Jun 2, 2015 at 3:49 PM, Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org= > wrote:
The ga10h is an 10&quo= t; tablet with an A33 or A23 soc, 1G RAM, 8G or 16G nand,
sdio wifi, 2 micro usb ports, 1 otg and 1 host and 1 micro sd slot.

This commit adds a dts file for the v1.1 pcb with an a33 soc.

Signed-off-by: Hans de Goede <hde= goede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
=C2=A0arch/arm/boot/dts/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A01 +
=C2=A0arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts | 118 ++++++++++++++++++++= +++++++++
=C2=A02 files changed, 119 insertions(+)
=C2=A0create mode 100644 arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index a413d7b..7f782d2 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -575,6 +575,7 @@ dtb-$(CONFIG_MACH_SUN8I) +=3D \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sun8i-a23-ippo-q8h-v5.dtb \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sun8i-a23-ippo-q8h-v1.2.dtb \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sun8i-a33-et-q8-v1.6.dtb \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0sun8i-a33-ga10h-v1.1.dtb \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sun8i-a33-ippo-q8h-v1.2-lcd1024x600.dtb
=C2=A0dtb-$(CONFIG_MACH_SUN9I) +=3D \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sun9i-a80-optimus.dtb \
diff --git a/arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts b/arch/arm/boot/dts= /sun8i-a33-ga10h-v1.1.dts
new file mode 100644
index 0000000..0c55954
--- /dev/null
+++ b/arch/arm/boot/dts/sun8i-a33-ga10h-v1.1.dts
@@ -0,0 +1,118 @@
+/*
+ * Copyright 2015 Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
+ *
+ * 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.
+ *
+ *=C2=A0 a) This file is free software; you can redistribute it and/or
+ *=C2=A0 =C2=A0 =C2=A0modify it under the terms of the GNU General Public = License as
+ *=C2=A0 =C2=A0 =C2=A0published by the Free Software Foundation; either ve= rsion 2 of the
+ *=C2=A0 =C2=A0 =C2=A0License, or (at your option) any later version.
+ *
+ *=C2=A0 =C2=A0 =C2=A0This file is distributed in the hope that it will be= useful,
+ *=C2=A0 =C2=A0 =C2=A0but WITHOUT ANY WARRANTY; without even the implied w= arranty of
+ *=C2=A0 =C2=A0 =C2=A0MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.= =C2=A0 See the
+ *=C2=A0 =C2=A0 =C2=A0GNU General Public License for more details.
+ *
+ * Or, alternatively,
+ *
+ *=C2=A0 b) Permission is hereby granted, free of charge, to any person + *=C2=A0 =C2=A0 =C2=A0obtaining a copy of this software and associated doc= umentation
+ *=C2=A0 =C2=A0 =C2=A0files (the "Software"), to deal in the Sof= tware without
+ *=C2=A0 =C2=A0 =C2=A0restriction, including without limitation the rights= to use,
+ *=C2=A0 =C2=A0 =C2=A0copy, modify, merge, publish, distribute, sublicense= , and/or
+ *=C2=A0 =C2=A0 =C2=A0sell copies of the Software, and to permit persons t= o whom the
+ *=C2=A0 =C2=A0 =C2=A0Software is furnished to do so, subject to the follo= wing
+ *=C2=A0 =C2=A0 =C2=A0conditions:
+ *
+ *=C2=A0 =C2=A0 =C2=A0The above copyright notice and this permission notic= e shall be
+ *=C2=A0 =C2=A0 =C2=A0included in all copies or substantial portions of th= e Software.
+ *
+ *=C2=A0 =C2=A0 =C2=A0THE SOFTWARE IS PROVIDED "AS IS", WITHOUT = WARRANTY OF ANY KIND,
+ *=C2=A0 =C2=A0 =C2=A0EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE= WARRANTIES
+ *=C2=A0 =C2=A0 =C2=A0OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE= AND
+ *=C2=A0 =C2=A0 =C2=A0NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR CO= PYRIGHT
+ *=C2=A0 =C2=A0 =C2=A0HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LI= ABILITY,
+ *=C2=A0 =C2=A0 =C2=A0WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,= ARISING
+ *=C2=A0 =C2=A0 =C2=A0FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR T= HE USE OR
+ *=C2=A0 =C2=A0 =C2=A0OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+/dts-v1/;
+#include "sun8i-a33.dtsi"
+#include "sunxi-common-regulators.dtsi"
+
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/pinctrl/sun4i-a10.h>
+
+/ {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0model =3D "Allwinner GA10H Quad Core Table= t (v1.1)";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0compatible =3D "allwinner,ga10h-v1.1"= , "allwinner,sun8i-a33";
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0aliases {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0serial0 =3D &r_= uart;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0};
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0chosen {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0stdout-path =3D &qu= ot;serial0:115200n8";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0};
+};
+
+&i2c0 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pinctrl-names =3D "default";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pinctrl-0 =3D <&i2c0_pins_a>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0status =3D "okay";
+};
+
+&i2c1 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pinctrl-names =3D "default";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pinctrl-0 =3D <&i2c1_pins_a>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0status =3D "okay";
+};
+
+&lradc {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0vref-supply =3D <&reg_vcc3v0>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0status =3D "okay";
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0button@200 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0label =3D "Vol= ume Up";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0linux,code =3D <= KEY_VOLUMEUP>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0channel =3D <0&g= t;;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0voltage =3D <200= 000>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0};
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0button@400 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0label =3D "Vol= ume Down";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0linux,code =3D <= KEY_VOLUMEDOWN>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0channel =3D <0&g= t;;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0voltage =3D <400= 000>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0};
+};
+
+&mmc0 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pinctrl-names =3D "default";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pinctrl-0 =3D <&mmc0_pins_a>, <&am= p;mmc0_cd_pin_q8h>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0vmmc-supply =3D <&reg_vcc3v0>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0bus-width =3D <4>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd-gpios =3D <&pio 1 4 GPIO_ACTIVE_HIGH&= gt;; /* PB4 */
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd-inverted;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0status =3D "okay";
+};
+
+&pio {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0mmc0_cd_pin_q8h: mmc0_cd_pin@0 {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0allwinner,pins =3D = "PB4";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0allwinner,function = =3D "gpio_in";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0allwinner,drive =3D= <SUN4I_PINCTRL_10_MA>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0allwinner,pull =3D = <SUN4I_PINCTRL_PULL_UP>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0};
+};
+
+&r_uart {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pinctrl-names =3D "default";
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pinctrl-0 =3D <&r_uart_pins_a>;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0status =3D "okay";
+};
--
2.3.6

--
You received this message because you are subscribed to the Google Groups &= quot;linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux= -sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit https://groups.google.com/d/optout.



--

--
You received this message because you are subscribed to the Google Groups &= quot;linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to linux-s= unxi+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
For more options, visit http= s://groups.google.com/d/optout.
--001a113496f261980b05178ea4b4--