From patchwork Tue Feb 13 17:12:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 13555397 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7F09AC48BC4 for ; Tue, 13 Feb 2024 17:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:From: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=imOFz+iXdfAVxr3/633WiuTm21nIc/eldAbHeoL+ijw=; b=Ir104flwxtjy+V b5OU9LqYduIuMUYNKAfhmenpcLhl6qXom42Sv9zXRBcG3qCnyLD3oJDnFIqSWsEXfrJSyGXXlnb+b nxNmg96CF+jqGZmhLhxxMKK5pVjBENTo2swabFJDE4hxPIfH8bxk6d9WO8Qsr6YeXIeKtY+ccp/Lo uJErs3twgFqrBbV+eR3ICd9+y9p2XDpzk3NT6X4YgrJ2hg3IzUE+LsjId98q9EDsxFiLTEdBq8cTg gTdIs1lep5ZbDbWRmcTi9vhiud7HLK1DgGYR9h2jeSjAOOXmlsXQTrdEKScaRhKn84zBteZi9mFKK mh1Kwxb1rtiBUmhWDSEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZwOn-0000000A6oI-0lH4; Tue, 13 Feb 2024 17:16:49 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZwOj-0000000A6ms-1XkB for linux-amlogic@lists.infradead.org; Tue, 13 Feb 2024 17:16:46 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-411c93e6bfaso5099845e9.1 for ; Tue, 13 Feb 2024 09:16:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1707844604; x=1708449404; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wrRudLzDGL7vdbtFsMh/EJY4eKFKxjp27rYByGmoSpE=; b=bdn85i72htnvATLdacl6Go8K+KEeja5DbziYscjnVhEK8E+6bFQN+QKE9ecdhAAIg3 6vkQuRtb/dmIq+9DesSBIdQbIpobcnjOEUntTYpBWc4F2Aed+vhlxuws3d3kS5k3+xSs poLMPLR/RgU4K1q675tyKheaX3T8VknBmnypNmizFDAKWsNTItIAMTI4XDN16cds+1Wo V79gj1Ze/BKkE3df6pyXFReDfw1wn2l0RKh1HVnc3YOefFvWPvyyAmjspnul1Dxq3oTZ dm9+7bITcjUJdsFXu6ieZaj15PSDzaHFLlH/PvkEmcpvZLlJ7++h5T9nNwFk3BKO+454 uoMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707844604; x=1708449404; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wrRudLzDGL7vdbtFsMh/EJY4eKFKxjp27rYByGmoSpE=; b=rpcp3dX1OA8nL0WRU6ZPL0QRVK/M57LNXz7HRteq0/o6Tj5fBHBEitEDqnzUgEdDV8 JeABDii5CEbYbWerYhD2pCvWjVgxsFIZNiFq/XJNyP4dm9PUSFPAF77opbIq+ayoQys6 UHniGtqNm8PpMZHnQKuTHTD7q9ZEZlQMrNvYwA1Dq3ptKWVmHqxfu99DRT2q6z8X8EF1 I5e4/BhowCmWlX9AXyttEj4IncUkos1BqoCebqNoSMZ0KBCOMsy7jL8w53QSyTuTaRmV VhT2uqHCXKMExseSV004izZZf6vg+OI8RFPnzH1SmC/xevp46uZjlHL3MQJsBsGyBidn sOSA== X-Gm-Message-State: AOJu0Yw2Tct0v5FzjxuOemKrSNWvNNz7ftsaRH5En9T8WmdLnn9nZifk dXGjhkwNx0Yq84I1ZlVGnj88hNVegGSMIF3aVLaHyEfrFpvAT1+ty+RmBI0Yine1WT1GoN9lMoc 7INg= X-Google-Smtp-Source: AGHT+IFhGnlYJQIODayatMiLDQGcA7n1DCbcC2iZ+l++RVhDHhGAeSZxazycC123pinudSw+nAAayw== X-Received: by 2002:a05:600c:4f14:b0:410:c127:62fe with SMTP id l20-20020a05600c4f1400b00410c12762femr233098wmq.1.1707844603987; Tue, 13 Feb 2024 09:16:43 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXZNpD8wYJmrXqQSl65viXRKYJqHWxhmDeMraIW2yY0l9GvX2yTv+4UhSVKSQCKcxsjf4yWiTDMh+QICqU8L0GoDr0Dmsy+2VzHaY/WZmhgFvmH3E0O6hM1HFp1xb7NWHYBxrzvtw/xrxJXwr6ULWgABwZWMe5exx2kErG/k1Sh5hYfR2yKM9CMcKpWyQK1yaw4nGwW2zvvtPf+n7RtjdnrvBet3609RWuLPjhagxnGnecsa9j+Rn7IZHIWgYLpZwP8Xey9Ui0Bc8udncm9PSTgIZltilV0wCQZXN+yz15eoe/Rq8fSoDqlcAJmb3YR0v+gFX/maqkYZSegbC6gbvPfkd1NwOCGGgc0z6vgpPfWEV8= Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id j9-20020a05600c190900b00410c2f39833sm7805785wmq.30.2024.02.13.09.16.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Feb 2024 09:16:43 -0800 (PST) Message-ID: <64e806b4-5366-4722-9aa8-c72667ce7962@freebox.fr> Date: Tue, 13 Feb 2024 18:12:37 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH v3 1/4] dt-bindings: vendor-prefixes: add freebox Content-Language: en-US From: Marc Gonzalez To: AML , DT Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson References: <07f7a695-18a0-4211-82e9-b1e2c7166969@freebox.fr> In-Reply-To: <07f7a695-18a0-4211-82e9-b1e2c7166969@freebox.fr> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_091645_679609_DCDCD2F6 X-CRM114-Status: UNSURE ( 6.64 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Freebox is a French ISP who makes gateways and STBs. Acked-by: Conor Dooley Signed-off-by: Marc Gonzalez --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 1a0dc04f1db47..4f5a1f4e6689a 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -500,6 +500,8 @@ patternProperties: description: FocalTech Systems Co.,Ltd "^forlinx,.*": description: Baoding Forlinx Embedded Technology Co., Ltd. + "^freebox,.*": + description: Freebox SAS "^freecom,.*": description: Freecom Gmbh "^frida,.*": From patchwork Tue Feb 13 17:13:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 13555395 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E568EC4829F for ; Tue, 13 Feb 2024 17:16:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:From: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7J7q3ei9hz46rAtsJBeK04FLOfdloC8vhFY9DC5loqU=; b=kzemxzXfhgkore ZQB8gF6AEcrGLr9JFnyx80Nx8XmGGEyEX3EMUhS0fi52n1q9gqnXShGT++or9Cg17mf21tPx+mrFH hKINdvNGQa/jPIDwa7eOx64wue9UgmT/SWM1GizkszhAM869RNh9ihJ0knqaq6Ggc95ako5Bk0zJ/ y4z88ZlzVSuSAWqIP9KTVzUkipKfMVpalzRlCzBAibrOZDDNeRPe1u4MTateSiYhVESbC04BMRLZu QfA2T+n3wtqjtUf1xMBAn0YMgsWPUWBo9sH+Fz7YV/JVcqz+i/5tqdjjgmKFA0jCNBl2PU9FGEEub DkMPTYrR4GbJROM72Hmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZwOn-0000000A6oU-3q33; Tue, 13 Feb 2024 17:16:49 +0000 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZwOk-0000000A6mu-3B3S for linux-amlogic@lists.infradead.org; Tue, 13 Feb 2024 17:16:48 +0000 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-411ca9dfffdso4863635e9.2 for ; Tue, 13 Feb 2024 09:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1707844605; x=1708449405; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=rhxPETmkFw3IENUE+zBAbE/05HwK6Twdv5P1eS9JV/w=; b=jdtPjkMsMBgp9jCvzdbD8APry675dHF3SjxmLwgaA0IjiiJ2UT8BKzTSro0DRdCGUJ bBsYDwyyW8Z3eBEaG61TS7hBySQdzPXU6cbYK8+kEx4SWw8le8fq0HIro138rBvdn4IN 60sHJjwBXe1uz6Aq04yq7l+KBN3w6+aGD9TAG+Tm2Ysxj2ocwA9gIPwiPia4rDQdR+vo 2XNK7lgYPdmT79DtvNfMc+yP19+2bj95DBi/SNL++K8yK5iShgGfObXqt6DEuw3lfP9k n+/oMaAsC/mcaCJysvZEkTp1oEGzCcgzORXmL8s0EFf5vkdKm7iUAiwqxoWfGJCwXx6j eCQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707844605; x=1708449405; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rhxPETmkFw3IENUE+zBAbE/05HwK6Twdv5P1eS9JV/w=; b=McY2xai+nHJSYWOwihNWZ4Z0eV8BHQleVqUvYo4jQIrqy62W2T2Xf5SAOBDkn13uLE NN2A4iek0bh7yJ1p4ZpZXrRWiNX3oO7bBH3ukurC9NxvehppGwgCFrftb3SluaKdV4ZE 52kY8tuYFuBI9E79dz71qUutRMtv2Nbag8ARAn4UeedP4KQIDTrCSGNdkBVwR2Zee2Od hnW7yfqG/AwhnkPo/Z8ZhYpTJC34EKu0p7MakrB/9RqwE28jFZoDrGms9YxzZSwgGjJJ VNf3pry1k3tiOHlLnorPyh1DvWou1ncs8MHyhKtRBhV4NHcr90Qc7te6ftGEJBOFBWoQ hsXw== X-Gm-Message-State: AOJu0Yz3a8J6ypOsnj9bxdqOWAbcua0pdFiwEtlWfBygg/OV19vJoL/O Kl8Lz3bRktgnnddhh2T6CWNyLrLmZ3AqdMU/ocaZoA8SLJ0MaFl+rLRHcWUn1BRRs5C/R6F+FGc lzZw= X-Google-Smtp-Source: AGHT+IGYzHr6pIcbv72cMoPnjodIenLV0rR+cBiGnl6SPrPBer7lxPhLIGuuN0rjSogvl0gRkd/njw== X-Received: by 2002:a05:600c:500b:b0:410:862:14c3 with SMTP id n11-20020a05600c500b00b00410086214c3mr255434wmr.5.1707844604999; Tue, 13 Feb 2024 09:16:44 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXUMlj1du0zW4sqzvkqy1Kwa04fRexc8zyPF1gzXfqaXoTEOS7oa7jWJgtO6sit+HChttNYFsrV/UsvS+Ou89qXN4ws0kwE9rfkEKI9sMLTm/+Yor49XoFA/A+A1ZhWBEsmuPU6mVa3q8+SQ+mdq9YV6TZgDZS2H/ZukVbj1l6ahjeFenoRGD36JNg5c0TstngFgSNZH7wGQ0BChkBjmM1hf10qEwbe4dwLzgNt0Sy/eVUw/AQoM5FLmIFuSODGg0hqkzfmjfnll999IAlaGPOa3iF0jEm0WCavY8bLKvnaFzsRdi7xXcJMYEeRHnnYaBuZOjzib9Nng3gA4Z/LVlnzR6htmL71Sslc/ydJnF+5/wg= Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id j9-20020a05600c190900b00410c2f39833sm7805785wmq.30.2024.02.13.09.16.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Feb 2024 09:16:44 -0800 (PST) Message-ID: <5f238367-57f2-404e-b5ce-521c389bc728@freebox.fr> Date: Tue, 13 Feb 2024 18:13:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH v3 2/4] dt-bindings: arm: amlogic: add fbx8am binding Content-Language: en-US From: Marc Gonzalez To: AML , DT Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson References: <07f7a695-18a0-4211-82e9-b1e2c7166969@freebox.fr> In-Reply-To: <07f7a695-18a0-4211-82e9-b1e2c7166969@freebox.fr> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_091646_829648_86B38C13 X-CRM114-Status: UNSURE ( 6.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Add binding for the Amlogic Meson G12A-based Freebox Pop (fbx8am). Acked-by: Conor Dooley Signed-off-by: Marc Gonzalez --- 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 caab7ceeda45a..ce0ea36de0c09 100644 --- a/Documentation/devicetree/bindings/arm/amlogic.yaml +++ b/Documentation/devicetree/bindings/arm/amlogic.yaml @@ -146,6 +146,7 @@ properties: - enum: - amediatech,x96-max - amlogic,u200 + - freebox,fbx8am - radxa,zero - seirobotics,sei510 - const: amlogic,g12a From patchwork Tue Feb 13 17:13:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 13555398 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5965CC48BEB for ; Tue, 13 Feb 2024 17:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:From: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1elk81GUChqEQk+adMPtip5haaJunZOtFg7f6MKqxcw=; b=GyWjAQPDBn8ByW BeazGctTdg+c5TiExh/KBO/5EZZWPpoiFOXEURl8HfyWKq80ZIlwIKWgX1e8u+JUOhB+5B6bPP9ds ut3laPG9PxVrvL5T6JqPaeecCDBDZj9Ecuseax5pNgKY75FQ7MM8jB9cPf0Dn7PnEmLyq8p0giaqn It4tzlSYhG0kGY+Mv/idPvfdBUUKNnJRSERtRbQDnUKWDfZbKun6O4z7+KP0M3sMZ4ECJ4NtmNiVY qmjIFbZqYb5cCst/SH7+U5f92nV52CpuDBn6sq++STAF2zW4jDB/upXhW/DUpKjJd1kt3RHf+ZHmz Z68LBghh8ISA2S21vISQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZwOo-0000000A6oe-18bO; Tue, 13 Feb 2024 17:16:50 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZwOl-0000000A6nM-1i88 for linux-amlogic@lists.infradead.org; Tue, 13 Feb 2024 17:16:48 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4108cbd92b9so25073985e9.1 for ; Tue, 13 Feb 2024 09:16:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1707844605; x=1708449405; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7cj1Oe/QX1RRD7S1fFe9Rz4XJ+j9cEWjaKgta5j8NIM=; b=cdbHAFcmPzynRzmoE/X+CRaThXIEuy0sPonD2J/okGKzDpMRXUVLsILTwkH7heJXP/ psAcebUlumxok4RQl5nC3QyAzb5kJ6PuAk8fOC6j0DY5IR+/1VBeTkHGhdKUj0Ud6NED 9vE7VwaJXG0y4XIPedZlb5nYnJXgYHZyxsR+dCKs3WEOLMeAhdrjIQbZcA6jzFyGKyQN o1yzZbnuWesWh0rlUQqZHuEx6LkmypdZgnnjtnOrmnv40ho+TNvue4ogZftNxdnq1lYr fKwlpS4yUO880GbkL0jcBUp6MlSonEiY9Q/f4NF2tia8/Iw4iBPy5cpNkyxD1S6dHp4G ccwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707844605; x=1708449405; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7cj1Oe/QX1RRD7S1fFe9Rz4XJ+j9cEWjaKgta5j8NIM=; b=eFR9VPCvdZ9CIcM8CkUR2COa5/js8QudbuS9IJpyemioAUmcsNm6ODTvmpyXzpJPhr EMWR3l6B3AoBo2h+WWX+R4QWAdF7pNzBoc8NcGT04AO4/JAM2rf50n/2lx8iHcviT6aW HqjnH8h/tWOAxh/wegdCZuu3MbI6oO99dzbrBZv4O2yhKOvgIaP6ff0BGEJWRf1oO9ZL UiQ00TXTZcJlbK/SKTUOQ/BGjVPsPySl+uQvvUTnEXWEMZex4bU82TjlnacL3SgZHu3K vueMA52lfQrYFd62BjXUx2Y1nU0JrU6nZoEg5J9ar/5LAAkfgVvWaRYitV3L+/FvAPwh DJRA== X-Gm-Message-State: AOJu0YxiKEtfov/c3eKlf+PWV/f0bEHcGolEZ1c/E+1F/XxyxZngDzOu cftvR3n0nfly1cRg86uIoyWuAmeicuVeWdzp1kwiQpCzt5v4babTOBKIvyuZKH1CHSgyTB5vAHC 07qI= X-Google-Smtp-Source: AGHT+IFXa4ALJoj4QgElTbL6ttwKj0Mfu68eixPhYDzpeF58xTmu2DT3iYg15zA067ww3sbyipDAEw== X-Received: by 2002:a05:600c:1908:b0:411:6f3f:4950 with SMTP id j8-20020a05600c190800b004116f3f4950mr187106wmq.32.1707844605634; Tue, 13 Feb 2024 09:16:45 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCU+iYEVpa6muOZ5szHPnvlI58muAGSdGb0GeFhv0FbfY4eJhCHUW5w5phPrCDb68S14YZba1GzAuLgUYWHY7R9eHkokDYwx9VTyVF5aN0qNGdS5DV5Qie7g2F70SP76pVe1F7Bhg8zaQvOtxjQioYBWLHlgRocN5j6QWC6ljeqJSbvSLQCY7thxCgrARVfTuRLm/9ZC4R47J9rGoAZnlTuAnfISJdAYzT6dUUShttamvrRW4TLWiUk0qOGMMa3r80tVoy3VyBeEqvf9peRxksAmuKqLoSkyaSTQNwyE6c0bMzQq3rsOnnVtq7EO61MQADhfo1K4J0TkpNNXj4L0mTvmvtVKTmSIoLt+pQ2KNWgkGlg= Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id j9-20020a05600c190900b00410c2f39833sm7805785wmq.30.2024.02.13.09.16.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Feb 2024 09:16:45 -0800 (PST) Message-ID: <59ca7d9a-a8dd-4062-852e-18b80ace6d7e@freebox.fr> Date: Tue, 13 Feb 2024 18:13:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH v3 3/4] arm64: dts: amlogic: add fbx8am board Content-Language: en-US From: Marc Gonzalez To: AML , DT Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson References: <07f7a695-18a0-4211-82e9-b1e2c7166969@freebox.fr> In-Reply-To: <07f7a695-18a0-4211-82e9-b1e2c7166969@freebox.fr> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_091647_497484_8215B279 X-CRM114-Status: GOOD ( 10.65 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Pierre-Hugues Husson The fbx8am boards are based on the Amlogic Meson G12A S905X2 SoC, and the SEI510 board design. Signed-off-by: Pierre-Hugues Husson Signed-off-by: Marc Gonzalez Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts | 462 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 462 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts new file mode 100644 index 0000000000000..af211d8f39520 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am.dts @@ -0,0 +1,462 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2024 Freebox SAS + +/* + * SEI codename: SEI530FB (based on SEI510) + * Freebox codename: fbx8am + * Commercial names: Freebox Pop, Player TV Free 4K + */ + +/dts-v1/; + +#include "meson-g12a.dtsi" +#include +#include +#include +#include + +/ { + compatible = "freebox,fbx8am", "amlogic,g12a"; + model = "Freebox Player Pop"; + chassis-type = "embedded"; + + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + }; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + poll-interval = <100>; + + /* Physical user-accessible reset button near USB port */ + power-button { + label = "Reset"; + linux,code = ; + gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; + }; + }; + + spdif_dit: audio-codec-2 { + #sound-dai-cells = <0>; + compatible = "linux,spdif-dit"; + status = "okay"; + sound-name-prefix = "DIT"; + }; + + aliases { + serial0 = &uart_AO; + ethernet0 = ðmac; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + emmc_pwrseq: emmc-pwrseq { + compatible = "mmc-pwrseq-emmc"; + reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; + }; + + hdmi-connector { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_connector_in: endpoint { + remote-endpoint = <&hdmi_tx_tmds_out>; + }; + }; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; + + ao_5v: regulator-ao-5v { + compatible = "regulator-fixed"; + regulator-name = "AO_5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&dc_in>; + regulator-always-on; + }; + + dc_in: regulator-dc-in { + compatible = "regulator-fixed"; + regulator-name = "DC_IN"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-always-on; + }; + + emmc_1v8: regulator-emmc-1v8 { + compatible = "regulator-fixed"; + regulator-name = "EMMC_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; + }; + + vddao_3v3: regulator-vddao-3v3 { + compatible = "regulator-fixed"; + regulator-name = "VDDAO_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&ao_5v>; + regulator-always-on; + }; + + vddao_3v3_t: regulator-vddao-3v3-t { + compatible = "regulator-fixed"; + regulator-name = "VDDAO_3V3_T"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vddao_3v3>; + gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; + enable-active-high; + }; + + vddcpu: regulator-vddcpu { + /* + * SY8120B1ABC DC/DC Regulator. + */ + compatible = "pwm-regulator"; + + regulator-name = "VDDCPU"; + regulator-min-microvolt = <721000>; + regulator-max-microvolt = <1022000>; + + pwm-supply = <&ao_5v>; + + pwms = <&pwm_AO_cd 1 1250 0>; + pwm-dutycycle-range = <100 0>; + + regulator-boot-on; + regulator-always-on; + }; + + vddio_ao1v8: regulator-vddio-ao1v8 { + compatible = "regulator-fixed"; + regulator-name = "VDDIO_AO1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; + }; + + sdio_pwrseq: sdio-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>; + post-power-on-delay-ms = <10>; /* required for 43752 */ + clocks = <&wifi32k>; + clock-names = "ext_clock"; + }; + + wifi32k: wifi32k { + compatible = "pwm-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */ + }; + + sound { + compatible = "amlogic,axg-sound-card"; + model = "fbx8am"; + 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_A IN 0", "FRDDR_A OUT 3", + "SPDIFOUT_A IN 1", "FRDDR_B OUT 3", + "SPDIFOUT_A 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>; + + 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_a>; + + 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"; +}; + +&cecb_AO { + pinctrl-0 = <&cec_ao_b_h_pins>; + pinctrl-names = "default"; + status = "okay"; + hdmi-phandle = <&hdmi_tx>; +}; + +&clkc_audio { + status = "okay"; +}; + +&cpu0 { + cpu-supply = <&vddcpu>; + operating-points-v2 = <&cpu_opp_table>; + clocks = <&clkc CLKID_CPU_CLK>; + clock-latency = <50000>; +}; + +&cpu1 { + cpu-supply = <&vddcpu>; + operating-points-v2 = <&cpu_opp_table>; + clocks = <&clkc CLKID_CPU_CLK>; + clock-latency = <50000>; +}; + +&cpu2 { + cpu-supply = <&vddcpu>; + operating-points-v2 = <&cpu_opp_table>; + clocks = <&clkc CLKID_CPU_CLK>; + clock-latency = <50000>; +}; + +&cpu3 { + cpu-supply = <&vddcpu>; + operating-points-v2 = <&cpu_opp_table>; + clocks = <&clkc CLKID_CPU_CLK>; + clock-latency = <50000>; +}; + +ðmac { + status = "okay"; + phy-handle = <&internal_ephy>; + phy-mode = "rmii"; +}; + +&frddr_a { + status = "okay"; +}; + +&frddr_b { + status = "okay"; +}; + +&frddr_c { + status = "okay"; +}; + +&spdifout_a { + pinctrl-0 = <&spdif_out_h_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&spdifout_b { + status = "okay"; +}; + +&hdmi_tx { + status = "okay"; + pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; + pinctrl-names = "default"; +}; + +&hdmi_tx_tmds_port { + hdmi_tx_tmds_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; +}; + +&i2c3 { + status = "okay"; + pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; + pinctrl-names = "default"; +}; + +&ir { + status = "okay"; + pinctrl-0 = <&remote_input_ao_pins>; + pinctrl-names = "default"; +}; + +&pwm_AO_cd { + pinctrl-0 = <&pwm_ao_d_e_pins>; + pinctrl-names = "default"; + clocks = <&xtal>; + clock-names = "clkin1"; + status = "okay"; +}; + +&pwm_ef { + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; + clocks = <&xtal>; + clock-names = "clkin0"; +}; + +&pdm { + pinctrl-0 = <&pdm_din0_z_pins>, <&pdm_din1_z_pins>, + <&pdm_din2_z_pins>, <&pdm_din3_z_pins>, + <&pdm_dclk_z_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&saradc { + status = "okay"; + vref-supply = <&vddio_ao1v8>; +}; + +/* SDIO */ +&sd_emmc_a { + status = "okay"; + pinctrl-0 = <&sdio_pins>; + pinctrl-1 = <&sdio_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; + #address-cells = <1>; + #size-cells = <0>; + + bus-width = <4>; + cap-sd-highspeed; + sd-uhs-sdr50; + max-frequency = <100000000>; + + non-removable; + disable-wp; + + /* WiFi firmware requires power to be kept while in suspend */ + keep-power-in-suspend; + + mmc-pwrseq = <&sdio_pwrseq>; + + vmmc-supply = <&vddao_3v3>; + vqmmc-supply = <&vddio_ao1v8>; +}; + +/* SD card */ +&sd_emmc_b { + status = "okay"; + pinctrl-0 = <&sdcard_c_pins>; + pinctrl-1 = <&sdcard_clk_gate_c_pins>; + pinctrl-names = "default", "clk-gate"; + + bus-width = <4>; + cap-sd-highspeed; + max-frequency = <50000000>; + disable-wp; + + cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>; + vmmc-supply = <&vddao_3v3>; + vqmmc-supply = <&vddao_3v3>; +}; + +/* eMMC */ +&sd_emmc_c { + status = "okay"; + pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>; + pinctrl-1 = <&emmc_clk_gate_pins>; + pinctrl-names = "default", "clk-gate"; + + bus-width = <8>; + cap-mmc-highspeed; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + max-frequency = <200000000>; + non-removable; + disable-wp; + + mmc-pwrseq = <&emmc_pwrseq>; + vmmc-supply = <&vddao_3v3>; + vqmmc-supply = <&emmc_1v8>; +}; + +&tdmif_b { + status = "okay"; +}; + +&tdmout_b { + status = "okay"; +}; + +&tohdmitx { + status = "okay"; +}; + +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; +}; + +&uart_AO { + status = "okay"; + pinctrl-0 = <&uart_ao_a_pins>; + pinctrl-names = "default"; +}; + +&usb { + status = "okay"; + dr_mode = "host"; +}; From patchwork Tue Feb 13 17:14:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 13555399 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE9B4C48BED for ; Tue, 13 Feb 2024 17:16:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:From: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2qeETmwavcR98gEjYL64U6utxvwcQbWh1dTSouGZrHw=; b=LAyiCCTBzb1YUm /EOqUQHPfP6BOXPV4Ky5qdDfUCXQvrZDkJ60k9HcC8rTWFguP1j9RnVP8bfVhe7/HHgDbA3ksImCx RaXvxCwWChtOnDna6H/tnwO23vrJC+OUOEuX6OnKuybTYThLfCBXb1uqs2OgL2+0MQHXhoBxaiNiX IUIUbxkmOzAfXLk6C32FEn8KNH9tA24EURfVjc5m9hGUlIhHTX7ihd+9IQBcqkAoXtH9/knIhZdyE 2cudDR06Tn1kDk9rd7TeGnfpSg323f9lPN25wmHGNODC62eVKuNabn/ZtJqmOaErQawcU/2SiTq55 CJR2x2lwcdPMZkQZpufw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZwOr-0000000A6ps-34Lo; Tue, 13 Feb 2024 17:16:53 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZwOp-0000000A6od-1vEm for linux-amlogic@lists.infradead.org; Tue, 13 Feb 2024 17:16:52 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-410c1ebf5e4so20988105e9.2 for ; Tue, 13 Feb 2024 09:16:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1707844609; x=1708449409; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=s6RlH3wZJESaMwkf7v3z2NOiEtaER29lJKbWVlOBM50=; b=yXdjNUtZJz8OdNCZdItEM9XplBLpeolx+OAg8khJ7kQoka/3dmeMUuhPJmWACUTEei /q8nltfZfh3IJ2Mu29MS0trmz28+wMUrAcbm8pJT9tFEkXeNjdVccFZC6GWjKo0xI/uB b0f3yHccx/KERpYr3qhuUT9oYL8SRyw8vDJj6SCmW0AhB5NrlNIJhvtcj/c5LxoE8MDp FNXpHxC1ezRWEohEKrrgWKZRVONOcd/lGE/FzQmgl/W4sarm99EkzCKa8n3M8PxtpAuo dDX2uwvrqezCXVZHPL9CQktayq/lRgFxot6tqJzy549sm5G5JNIqDI4JCk04kcITeJXa aHxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707844609; x=1708449409; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=s6RlH3wZJESaMwkf7v3z2NOiEtaER29lJKbWVlOBM50=; b=wLSvy7cLy1JV01yQz4KI2ru9lXVqVwZZ1ItVcpAW/cXIuD5E5zBqv4cGxGdSrCpSn8 89DgO4UVir3V0r66k1eXCtLskwUPQLM1YM5DKaBv7Z3cwXKjgRwiajlJgu4mHvJvVClE iAGNa+l43F0HkvEpwalLmriTgS1NBGXNQUDOu4zH9QQZmHf90fYtGuP9nDByAzAzpPge e94G919PrD8qrmu0MAXt57IPXwifV/oBHDL+dUhoefyDfb/rDEPLqFUk5YYXpnsUfsoT WiKifgGX92SEykQ4wYSFFXl0JvkFlnRtPokfHJGqQxCAg25aT+tmP0X+LXdjUcya20kp BKtQ== X-Gm-Message-State: AOJu0YxPxQKRBgk5KcMr0RBlwLM4IPb9IxC189HrmF5jRJKiozIkCjJ6 uhYNpUrp33gBTdx+pwakUEQxHcqaEdCcUpdQlnTo4n0eG1yagQKOU4ywSWZqbqApEgkxyKHbRQw guTk= X-Google-Smtp-Source: AGHT+IGBkzqazmXuDW7QopiONN8TxjsMnqDJicaApuScpDpGFK7Oww7xwL14MWpsXZrK+iEmSRCXQg== X-Received: by 2002:a05:600c:1383:b0:410:adc2:6d1c with SMTP id u3-20020a05600c138300b00410adc26d1cmr262825wmf.12.1707844606230; Tue, 13 Feb 2024 09:16:46 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWC2orr4N4ebUitNoPpK94a91+0uiiTbLyOtBGE3I+o7/81cHMERbe/2+UrEpyrBMM8Z64UxdNCvVvzhyOP2aofO3D9bQHsqVuWpjYLEB3KEdtrNmHh0G7I/AoQaisw/14wYpIufpXKw3hMMrGx0p5tv1mnIQFjJRhZdlRlxWH+BRWGCMTYQ/WqaizfV9rN03uoJwijj8UtJ7Z9TyZ7HzYr8Dv3jf3JXD2yPTsLpGumzP166d/74NUO+w4OG++08Ct9exCopO84Rvsuu2KQIlaLAfmuol52UE3daY3gnQuqjys+AV4fOUY3tLB9yisOdXZSJv67/S1vUGOha+xnISZmWpc3TGdMcZjWC/Se2p0EJyQ= Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id j9-20020a05600c190900b00410c2f39833sm7805785wmq.30.2024.02.13.09.16.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Feb 2024 09:16:46 -0800 (PST) Message-ID: <79ba726d-d02c-44b9-b6f6-59b17ba9755c@freebox.fr> Date: Tue, 13 Feb 2024 18:14:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH v3 4/4] arm64: dts: amlogic: add fbx8am DT overlays Content-Language: en-US From: Marc Gonzalez To: AML , DT Cc: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson References: <07f7a695-18a0-4211-82e9-b1e2c7166969@freebox.fr> In-Reply-To: <07f7a695-18a0-4211-82e9-b1e2c7166969@freebox.fr> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240213_091651_540578_C8C63481 X-CRM114-Status: GOOD ( 10.84 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Pierre-Hugues Husson Add support for two variants of the fbx8am board. Signed-off-by: Pierre-Hugues Husson Signed-off-by: Marc Gonzalez --- arch/arm64/boot/dts/amlogic/Makefile | 6 ++++++ arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-brcm.dtso | 35 ++++++++++++++++++++++++++++++++++ arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-realtek.dtso | 25 ++++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index cc8b34bd583d8..1ab160bf928ae 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -8,6 +8,8 @@ dtb-$(CONFIG_ARCH_MESON) += meson-axg-jethome-jethub-j100.dtb dtb-$(CONFIG_ARCH_MESON) += meson-axg-jethome-jethub-j110-rev-2.dtb dtb-$(CONFIG_ARCH_MESON) += meson-axg-jethome-jethub-j110-rev-3.dtb dtb-$(CONFIG_ARCH_MESON) += meson-axg-s400.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-g12a-fbx8am-brcm.dtb +dtb-$(CONFIG_ARCH_MESON) += meson-g12a-fbx8am-realtek.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-radxa-zero.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-sei510.dtb dtb-$(CONFIG_ARCH_MESON) += meson-g12a-u200.dtb @@ -80,3 +82,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-sm1-odroid-hc4.dtb dtb-$(CONFIG_ARCH_MESON) += meson-sm1-sei610.dtb dtb-$(CONFIG_ARCH_MESON) += meson-sm1-x96-air-gbit.dtb dtb-$(CONFIG_ARCH_MESON) += meson-sm1-x96-air.dtb + +# Overlays +meson-g12a-fbx8am-brcm-dtbs := meson-g12a-fbx8am.dtb meson-g12a-fbx8am-brcm.dtbo +meson-g12a-fbx8am-realtek-dtbs := meson-g12a-fbx8am.dtb meson-g12a-fbx8am-realtek.dtbo diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-brcm.dtso b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-brcm.dtso new file mode 100644 index 0000000000000..ed79809b15859 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-brcm.dtso @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2024 Freebox SAS + +/dts-v1/; +/plugin/; + +#include +#include + +/ { + compatible = "freebox,fbx8am-brcm", "freebox,fbx8am", "amlogic,g12a"; +}; + +&uart_A { + bluetooth { + compatible = "brcm,bcm43438-bt"; + shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + max-speed = <2000000>; + clocks = <&wifi32k>; + clock-names = "lpo"; + vbat-supply = <&vddao_3v3>; + vddio-supply = <&vddio_ao1v8>; + }; +}; + +&sd_emmc_a { + /* Per mmc-controller.yaml */ + #address-cells = <1>; + #size-cells = <0>; + /* NB: may be either AP6398S or AP6398SR3 wifi module */ + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-realtek.dtso b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-realtek.dtso new file mode 100644 index 0000000000000..5da88fb94fb98 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-realtek.dtso @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2024 Freebox SAS + +/dts-v1/; +/plugin/; + +#include +#include + +/ { + compatible = "freebox,fbx8am-realtek", "freebox,fbx8am", "amlogic,g12a"; +}; + +&uart_A { + bluetooth { + compatible = "realtek,rtl8822cs-bt"; + enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + host-wake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; + device-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; + }; +}; + +&sd_emmc_a { + /* No explicit compatible for rtl8822cs sdio */ +};