summaryrefslogtreecommitdiff
path: root/sys/gnu/dts/arm/sun8i-a23-ippo-q8h-v1.2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu/dts/arm/sun8i-a23-ippo-q8h-v1.2.dts')
-rw-r--r--sys/gnu/dts/arm/sun8i-a23-ippo-q8h-v1.2.dts32
1 files changed, 19 insertions, 13 deletions
diff --git a/sys/gnu/dts/arm/sun8i-a23-ippo-q8h-v1.2.dts b/sys/gnu/dts/arm/sun8i-a23-ippo-q8h-v1.2.dts
index dd31c53e2ab6..6062ea7a9903 100644
--- a/sys/gnu/dts/arm/sun8i-a23-ippo-q8h-v1.2.dts
+++ b/sys/gnu/dts/arm/sun8i-a23-ippo-q8h-v1.2.dts
@@ -16,11 +16,6 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public
- * License along with this file; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
- * MA 02110-1301 USA
- *
* Or, alternatively,
*
* b) Permission is hereby granted, free of charge, to any person
@@ -45,15 +40,26 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
+/dts-v1/;
+#include "sun8i-a23.dtsi"
+#include "sun8i-q8-common.dtsi"
+
+/ {
+ model = "Q8 A23 Tablet";
+ compatible = "allwinner,q8-a23", "allwinner,sun8i-a23";
+};
+
/*
- * The Ippo Q8H v1.2 is almost identical to the v5, still it needs a separate
- * dtb file since some gpio-s surrounding the wlan/bluetooth are different,
- * and it uses different camera sensors.
+ * FIXME for now we only support host mode and rely on u-boot to have
+ * turned on Vbus which is controlled by the axp223 pmic on the board.
+ *
+ * Once we have axp223 support we should switch to fully supporting otg.
*/
+&usb_otg {
+ dr_mode = "host";
+ status = "okay";
+};
-#include "sun8i-a23-ippo-q8h-v5.dts"
-
-/ {
- model = "Ippo Q8H Dual Core Tablet (v1.2)";
- compatible = "ippo,q8h-v1.2", "allwinner,sun8i-a23";
+&usbphy {
+ status = "okay";
};