From patchwork Sat Jul 18 05:22:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 11671649 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DFB2C6C1 for ; Sat, 18 Jul 2020 05:23:21 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B2F0A2076D for ; Sat, 18 Jul 2020 05:23:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SPsIy0K5"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cT3ae4B/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B2F0A2076D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=SuC0FkXQAHI9FvImHL0OwYoES5CaMJ/Ox9TKpTpMUMI=; b=SPsIy0K53Jt/BLHyKseKP4FtWo lsskRj9Me8BEdEeopgNJUYhYStfMwkWUKYD1VOxJ6NJxGN0fLydeEZbJWsh4/qzTBExeupC4Od1Od C2j1x+5oS514FEiT/kYzwwKVeatBX0odVpLb1iJyNmEPCFKKmztd1Lx9hwy2CEFW3MuByyfROWJkN gWD5CcSWVOCQUGM7J7qGVDhkEY9XjKIMHtE7NQ57bK2Lhb8mw7jnoktzB7td7F3ziMkPs4xageh3W sTbgVgjrojGom4yZNJqxULQPCdp1LeJf4CUJExPE3bd0vjwJgTTBzLEwEZKRtFKN9BMAM67z7WrOB ervEfX7Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwfJU-0002OV-LR; Sat, 18 Jul 2020 05:23:08 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwfJP-0002N2-H2; Sat, 18 Jul 2020 05:23:04 +0000 Received: by mail-wr1-x443.google.com with SMTP id b6so13110995wrs.11; Fri, 17 Jul 2020 22:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=68XVIKJYC51HwphePdTA9Lwzvvw+s3PKoRyB8S+VPNI=; b=cT3ae4B/9OU66h0+rkwDY8k47sIDc5dudndIC/G5UXIUUsAcygze5S3w750uxyVDwS +M/5SpQMP9H6WNj0zXtwEb7i8HeRczJfv3WJNjOcVV5zAKV8hj1oPTNY37psbPQ7X86I zmlFiDQOg8ICG8V4rM37eB+nIm0nI4IGKKtHlx7hjDntLmYAoo1i+dS6/E+hUMtvLn2u gE1SjsK2V1t5bRTptUNZoya0Tb/gdFklNhpYcDAt+ulK1Y51dXitN9jg1f0oaRgG8mm0 v7BlAiuho/oII5ptg8HDc6MFOadOQoYEWqPu5CwyONYACPTeTCtscIyQawMVpBNxPnbH y9Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=68XVIKJYC51HwphePdTA9Lwzvvw+s3PKoRyB8S+VPNI=; b=GFWD+Wt8gjYU87hzihmQuxdJRAWdYXn0dps8OC7yCBKVupD4jjdG6h51VR7zKfqNjB T68PgYDTPzVHP3G0QOHnC000X1EIRsPAoZZgqKcR7vm9Zc61E6HEtzHVDBaJHbJLhQAP hs2VWznGyJQpcdz9eeIfhAHgHQ9s6HD8WTMDo1ACr0Hh9g+eAa7ut1GFet8+mVHd6a1h F5GLQtLaKDfZgTrYZ/9LhvBI532Zu7o4TSeQdOVSvLiVh9jBwgHlxiXenX7NEoTIaMgV Kw/Pbg2wVlMG0KR9V4TFHhI9oQvRU0rWXzp6gdgN+kV6kaMQ1HiHIHYyzIG9co0cT8sj 3+7A== X-Gm-Message-State: AOAM532CXN3uHFjQmZpB75MrvGYPBTN+v08l17K1jKe0acttHfBImMkt VAMGCYM4+eBNKawyfsctVPta+zC0 X-Google-Smtp-Source: ABdhPJwFA04O0Vo827+TYXELnidVX5qxVKJEDLQCoYfwdm8pKzam0cDcrr0PdyGYzXfqhn/u8xJ3fg== X-Received: by 2002:adf:f34e:: with SMTP id e14mr13158030wrp.299.1595049782582; Fri, 17 Jul 2020 22:23:02 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id f16sm17536608wmf.17.2020.07.17.22.23.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 22:23:02 -0700 (PDT) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: arm: amlogic: add support for the Beelink GS-King-X Date: Sat, 18 Jul 2020 05:22:57 +0000 Message-Id: <20200718052258.2890-1-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200718_012303_732617_0DF64F30 X-CRM114-Status: UNSURE ( 9.71 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [christianshewitt[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christian Hewitt MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org The Shenzen AZW (Beelink) GS-King-X is based on the Amlogic W400 reference board with an S922X-H chip. Signed-off-by: Christian Hewitt Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/amlogic.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.yaml b/Documentation/devicetree/bindings/arm/amlogic.yaml index 378229fa8310..8711fa57ee25 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.yaml +++ b/Documentation/devicetree/bindings/arm/amlogic.yaml @@ -149,6 +149,7 @@ properties: - description: Boards with the Amlogic Meson G12B S922X SoC items: - enum: + - azw,gsking-x - azw,gtking - azw,gtking-pro - hardkernel,odroid-n2 From patchwork Sat Jul 18 05:22:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 11671651 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C5E8F138C for ; Sat, 18 Jul 2020 05:23:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9E4882076D for ; Sat, 18 Jul 2020 05:23:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="zO/zN3nl"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ahoKNN/2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E4882076D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5fIoFwlGFfQq+mtMHoB0PWUfbaT+y8OLS1Rhq3GeJxg=; b=zO/zN3nl2DPzGxWQ324NxCAjpt 8Pu8GwZfExJBoy9ncpi4Rhakg98TpbFXNWWjr05tJ9g7zLApaw/EMHStl4zVgu+K0WVVdV4twyyYb ATzy3gesYzBUzt0FhGD6Eb8Y9q9eJrYuuf5VPpqfz6sGsEtetCQTiFH+SJ70A+rDLIbek3QY1god8 zZFBYTkWQDi6bU7waga/lb1dfVazgCdc0qfck3t1bdAHBu5QMQlIM6wA4VkY5I/3T1c56YRUEB+CI WC/CDk4ECA6LsOnPITn5mA7wisQygFQ3LnMnCgGncqO9Xd1pWge6Agh9vVz3wgKeRj7DeIan2hWQD sFh8mdQg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwfJc-0002QH-4M; Sat, 18 Jul 2020 05:23:16 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwfJR-0002NV-Nl; Sat, 18 Jul 2020 05:23:07 +0000 Received: by mail-wm1-x343.google.com with SMTP id l2so20428238wmf.0; Fri, 17 Jul 2020 22:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cAYxwf3PWKuckY2hB45qBXD12qyW8EWqiGVEnf1AhJ8=; b=ahoKNN/2UsGf2261/PlAzJzMU5wSe7qP1X+NHH1C5XFRC9/Eixnma6gwZKnybt4GAt Tk9O4FMkcXWGGNEfeV4pOWJVh8CBI/X5iBSamDa/WungfMcVb9TTFeTrrf/MQwPTsvRa 2XmgDnOiP+4khMX0h6UwQE53Kyc0fyxeSCS0wN8ZMi3atYkNM+2AHtnwMetN+VFpphHF DEGcD6XS2v9jPs8LRhVE6+vbVsTRSTXLdf3+pYnXE8NnFw0Lk/aX11oevj51tuLJzXiL OfeVYxLdDdgExNGWp4wNQOPMAWnbIPj4YZIpzvsI7eJ0HbZhsc+demln5eAzf0ZTl1cl pZ8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=cAYxwf3PWKuckY2hB45qBXD12qyW8EWqiGVEnf1AhJ8=; b=AKJJagDPx8Ycg0Bre9NNpHCX7/GgU7PrCcLMPYaCt66za2SH8CoT+egP6LJcg0iOCS j8oFi6Svs+RDDY29yFTVw2Ae7iKdZA6Dm3hFYByCN3MIEumJC4p1P1y2KTEE1PadMbIX tlfE4ny/ksnxiyh1e8hp5a/I7iOlMFwgy4i8iNWRNpRQdpK/TAr7ts7NO6LtI8tKAIwg pmbsSNeKCU+a9qx4pPg7elWNfIdem/7UA7FyYMC2cx7bLjRmnZnQOgcTE+wdfa8brf4w jqy8R44ToX9Ez5X/mP2Jb8BMi+d1Y4z4DQuB6dN3rnxuL7opkeIzLvWEdPrumk8o130V C1SA== X-Gm-Message-State: AOAM530tf6Z7NUr+ge5mJkuMBRFtAK7HLV/5gPjT20cTct8DKKR4V2bk FjvZ1GZ0jO7buNdkWZNE4pQ= X-Google-Smtp-Source: ABdhPJyrAZ3UMP5EXqPvxtY9rGSpOSCytCxrVZqOS0PbHzzpVTWW4bmMK2/AusJFj00YMzB2B2WBjg== X-Received: by 2002:a1c:4183:: with SMTP id o125mr12180611wma.101.1595049784690; Fri, 17 Jul 2020 22:23:04 -0700 (PDT) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id f16sm17536608wmf.17.2020.07.17.22.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 22:23:04 -0700 (PDT) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: meson: add initial Beelink GS-King-X device-tree Date: Sat, 18 Jul 2020 05:22:58 +0000 Message-Id: <20200718052258.2890-2-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200718052258.2890-1-christianshewitt@gmail.com> References: <20200718052258.2890-1-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200718_012305_866293_46E2416E X-CRM114-Status: GOOD ( 15.06 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:343 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [christianshewitt[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christian Hewitt MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org The Shenzen AZW (Beelink) GS-King-X is based on the Amlogic W400 reference board with an S922X-H chip. - 4GB LPDDR4 RAM - 64GB eMMC storage - 10/100/1000 Base-T Ethernet - AP6356S Wireless (802.11 a/b/g/n/ac, BT 4.1) - HDMI 2.1 video - S/PDIF optical output - 2x ESS9018 audio DACs - 4x Ricor RT6862 audio amps - Analogue headphone output - 1x USB 2.0 OTG port - 3x USB 3.0 ports - IR receiver - 1x micro SD card slot (internal) - USB SATA controller with 2x 3.5" drive bays - 1x Power on/off button Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-g12b-gsking-x.dts | 170 ++++++++++++++++++ 2 files changed, 171 insertions(+) create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index 5cac4d1d487d..99a6e8e0b644 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -3,6 +3,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-x96-max.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gsking-x.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gtking.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-gtking-pro.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12b-a311d-khadas-vim3.dtb diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts new file mode 100644 index 000000000000..60b681d6cfe3 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts @@ -0,0 +1,170 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS + * Author: Neil Armstrong + * Copyright (c) 2019 Christian Hewitt + */ + +/dts-v1/; + +#include "meson-g12b-w400.dtsi" +#include +#include + +/ { + compatible = "azw,gsking-x", "amlogic,g12b"; + model = "Beelink GS-King X"; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <100>; + + power-button { + label = "power"; + linux,code = ; + gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; + }; + }; + + leds { + compatible = "gpio-leds"; + + blue { + color = ; + function = LED_FUNCTION_STATUS; + gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; + + spdif_dit: audio-codec-1 { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + status = "okay"; + sound-name-prefix = "DIT"; + }; + + sound { + compatible = "amlogic,axg-sound-card"; + model = "G12B-GSKING-X"; + audio-aux-devs = <&tdmout_b>; + audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", + "TDMOUT_B IN 1", "FRDDR_B OUT 1", + "TDMOUT_B IN 2", "FRDDR_C OUT 1", + "TDM_B Playback", "TDMOUT_B OUT", + "SPDIFOUT IN 0", "FRDDR_A OUT 3", + "SPDIFOUT IN 1", "FRDDR_B OUT 3", + "SPDIFOUT IN 2", "FRDDR_C OUT 3"; + + assigned-clocks = <&clkc CLKID_MPLL2>, + <&clkc CLKID_MPLL0>, + <&clkc CLKID_MPLL1>; + assigned-clock-parents = <0>, <0>, <0>; + assigned-clock-rates = <294912000>, + <270950400>, + <393216000>; + status = "okay"; + + dai-link-0 { + sound-dai = <&frddr_a>; + }; + + dai-link-1 { + sound-dai = <&frddr_b>; + }; + + dai-link-2 { + sound-dai = <&frddr_c>; + }; + + /* 8ch hdmi interface */ + dai-link-3 { + sound-dai = <&tdmif_b>; + dai-format = "i2s"; + dai-tdm-slot-tx-mask-0 = <1 1>; + dai-tdm-slot-tx-mask-1 = <1 1>; + dai-tdm-slot-tx-mask-2 = <1 1>; + dai-tdm-slot-tx-mask-3 = <1 1>; + mclk-fs = <256>; + + codec { + sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>; + }; + }; + + /* spdif hdmi or toslink interface */ + dai-link-4 { + sound-dai = <&spdifout>; + + codec-0 { + sound-dai = <&spdif_dit>; + }; + + codec-1 { + sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_A>; + }; + }; + + /* spdif hdmi interface */ + dai-link-5 { + sound-dai = <&spdifout_b>; + + codec { + sound-dai = <&tohdmitx TOHDMITX_SPDIF_IN_B>; + }; + }; + + /* hdmi glue */ + dai-link-6 { + sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>; + + codec { + sound-dai = <&hdmi_tx>; + }; + }; + }; +}; + +&arb { + status = "okay"; +}; + +&clkc_audio { + status = "okay"; +}; + +&frddr_a { + status = "okay"; +}; + +&frddr_b { + status = "okay"; +}; + +&frddr_c { + status = "okay"; +}; + +&spdifout { + pinctrl-0 = <&spdif_out_h_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&spdifout_b { + status = "okay"; +}; + +&tdmif_b { + status = "okay"; +}; + +&tdmout_b { + status = "okay"; +}; + +&tohdmitx { + status = "okay"; +};