197fec710SHans de Goede/* 297fec710SHans de Goede * Copyright 2015 Hans de Goede <hdegoede@redhat.com> 397fec710SHans de Goede * 497fec710SHans de Goede * This file is dual-licensed: you can use it either under the terms 597fec710SHans de Goede * of the GPL or the X11 license, at your option. Note that this dual 697fec710SHans de Goede * licensing only applies to this file, and not this project as a 797fec710SHans de Goede * whole. 897fec710SHans de Goede * 997fec710SHans de Goede * a) This file is free software; you can redistribute it and/or 1097fec710SHans de Goede * modify it under the terms of the GNU General Public License as 1197fec710SHans de Goede * published by the Free Software Foundation; either version 2 of the 1297fec710SHans de Goede * License, or (at your option) any later version. 1397fec710SHans de Goede * 1497fec710SHans de Goede * This file is distributed in the hope that it will be useful, 1597fec710SHans de Goede * but WITHOUT ANY WARRANTY; without even the implied warranty of 1697fec710SHans de Goede * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1797fec710SHans de Goede * GNU General Public License for more details. 1897fec710SHans de Goede * 1997fec710SHans de Goede * Or, alternatively, 2097fec710SHans de Goede * 2197fec710SHans de Goede * b) Permission is hereby granted, free of charge, to any person 2297fec710SHans de Goede * obtaining a copy of this software and associated documentation 2397fec710SHans de Goede * files (the "Software"), to deal in the Software without 2497fec710SHans de Goede * restriction, including without limitation the rights to use, 2597fec710SHans de Goede * copy, modify, merge, publish, distribute, sublicense, and/or 2697fec710SHans de Goede * sell copies of the Software, and to permit persons to whom the 2797fec710SHans de Goede * Software is furnished to do so, subject to the following 2897fec710SHans de Goede * conditions: 2997fec710SHans de Goede * 3097fec710SHans de Goede * The above copyright notice and this permission notice shall be 3197fec710SHans de Goede * included in all copies or substantial portions of the Software. 3297fec710SHans de Goede * 3397fec710SHans de Goede * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 3497fec710SHans de Goede * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 3597fec710SHans de Goede * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 3697fec710SHans de Goede * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 3797fec710SHans de Goede * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 3897fec710SHans de Goede * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 3997fec710SHans de Goede * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 4097fec710SHans de Goede * OTHER DEALINGS IN THE SOFTWARE. 4197fec710SHans de Goede */ 4297fec710SHans de Goede 4397fec710SHans de Goede/dts-v1/; 4497fec710SHans de Goede#include "sun8i-a23.dtsi" 4597fec710SHans de Goede#include "sun8i-q8-common.dtsi" 4697fec710SHans de Goede 4797fec710SHans de Goede/ { 4897fec710SHans de Goede model = "Q8 A23 Tablet"; 4997fec710SHans de Goede compatible = "allwinner,q8-a23", "allwinner,sun8i-a23"; 5097fec710SHans de Goede}; 51*9ad93c0cSJagan Teki 52*9ad93c0cSJagan Teki&codec { 53*9ad93c0cSJagan Teki allwinner,pa-gpios = <&pio 7 9 GPIO_ACTIVE_HIGH>; /* PH9 */ 54*9ad93c0cSJagan Teki allwinner,audio-routing = 55*9ad93c0cSJagan Teki "Headphone", "HP", 56*9ad93c0cSJagan Teki "Headphone", "HPCOM", 57*9ad93c0cSJagan Teki "Speaker", "HP", 58*9ad93c0cSJagan Teki "MIC1", "Mic", 59*9ad93c0cSJagan Teki "MIC2", "Headset Mic", 60*9ad93c0cSJagan Teki "Mic", "MBIAS", 61*9ad93c0cSJagan Teki "Headset Mic", "HBIAS"; 62*9ad93c0cSJagan Teki status = "okay"; 63*9ad93c0cSJagan Teki}; 64