From patchwork Sat Oct 31 02:26:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Enzo Adriano X-Patchwork-Id: 3791 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mxe881.netcup.net (Postfix) with ESMTPS id EDC2D1C206E for ; Sat, 31 Oct 2026 03:28:06 +0100 (CET) Authentication-Results: mxe881; dkim=pass header.d=gmail.com; spf=pass (sender IP is 172.234.253.10) smtp.mailfrom=linux-sunxi+bounces-27014-noreply=patchwork.local@lists.linux.dev smtp.helo=sea.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 172.234.253.10 as permitted sender) client-ip=172.234.253.10; envelope-from=linux-sunxi+bounces-27014-noreply=patchwork.local@lists.linux.dev; helo=sea.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 109072EC06 for ; Sat, 31 Oct 2026 02:27:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793413619; b=uTcKhmFqGoEacpMcrvWBHKm1Bd6Ozz2jpxQbgXxERUZXJjVoN2Srx7UkH8LHBcf3cjy8 ZQ3lrOyyY1lk6JtMZcjf0aR2GnV5Je4z3kV3xHIpCoepVKW7Dq5IXmK1XFV38OzrtDUku 97aVca1vGS3+JPRHehZuCfxydcT8fcK7N7PFKWA7A2JtELdGwhIzs7Wol6FdcX8PeOW8k 4zF4nPxGjqVRi6+7vrAxZPZ2TfvvNMg0FHhsLUHjgIglJ3jJ1ae//Yx30a7w98PbYdRZw WYsdI9W/I6lDWi95vqHBumaWiiP4lxQt+wjpTi9cAdMdflWoosLQebmE9iI+vzhtliA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793413619; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State: X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:Date:Message-ID: In-Reply-To:References:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=w0sP9g9K0qnXPezFXNJXSocNniQdxPAJlla7ZkrNcCk=; b=1381Q7Q8vt3A9OM+cvP6UYgqX9EMUXMWvYibcabKzA4lF2+cZJ6pZR1EXcu8b6cHgm2c v/dAuKdr7C/4eEMsQ5sPVMkzJWbRXzlrsz/0gCErOvHdWjReTzt1FxAcMmKyfyXiuBGbs jMT6ZCTqWcXg/Ci1QTWPo1ZUAEdKXdVJbLGRR1ylO1+n2VizYYi1uPvKmGkbFdixzuYBb 9iBtgb3G9dmXREX7DMuYQDMkBmqihYEeVZvWtqNe8qdp+uv0VPOabkj8YKfUp/nTgWYWl x4NHM1oHaGVADnZ9VTPk3tVS09X5E+PgzGLXyLqky4OAmUDfga38rKOK+LmKLse29DA== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=BkKbAihB; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D661E606A327; Sat, 31 Oct 2026 02:26:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=BkKbAihB X-Original-To: linux-sunxi@lists.linux.dev Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.53 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793413619; b=vfvcAN26soFTBoS8iqXqeKassO40e9mIY5lV0mhNIS5Hh/v/VH70UnrjMf5VIw0hIhpX MMa+FcwyWGP2tGnZK7jc7ve8+WvmIkNJo3FLLQ4K2eBzXSFMmF5yUKR7RTnm3JZE/6uYv TSIRgIsL8cwMXAEuQWgczMmYnhqdhJjUh6x/2lfBFp7CCYCsH41G3qYJgbMSuOGvF6BL8 U1pCoeFXBgIEMssVrUTt50enQTeEoar4XxPVjcGRs5Xu82S790V4E8CbPbAH6KHqJiOVA nwcgoAo9QML4UbFQgwLpfdqwOqH0EFRlMihNZmHpf3YZyw/+YkaN/qCKe7uB0zKv4ug== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793413619; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=w0sP9g9K0qnXPezFXNJXSocNniQdxPAJlla7ZkrNcCk=; b=W9YZ4zdpnbpHYIn6GFO+B2DVz0xtjWsdhv8G+lLpwM1EHxCJ62OIKLC0MHmCKwtLJEaP pJOH+Z12qzRffjWToBJlWloRaap4lS73W1UCbPP2vDrb1sdVueMLp1JBSZK2W6+kWinCQ DyxQCclcOztqq8aaJwlGlk2rdFL43TZLloh8JQNdWEUO3bGcjV5TEmMOt+D4UEXSVORIh /eVhL6lp3+B0wYb1THhEBlUzEPMQJOA2OaO+Oscu2HjEQXk+ROutI0BVEOONePAwz4rGo k5lPai901GqawDzBbkxZ4nzSkqbLkSSBMnedRHHBy5UrZg9iYJ1updbl5dHRP7CFWhA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=BkKbAihB; arc=none smtp.remote-ip=209.85.210.53 Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D99FE606A31E for ; Sat, 31 Oct 2026 02:26:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D99FE606A31E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-833e671ee9fso1501091a34.0 for ; Fri, 30 Oct 2026 19:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1793413618; x=1794018418; darn=lists.linux.dev; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=w0sP9g9K0qnXPezFXNJXSocNniQdxPAJlla7ZkrNcCk=; b=BkKbAihBBz0mp2//r/Jmx1r2VJ6TzcZ3aN39R9tolFtZslkBwEEA4LFXdoFlttbaiq pZ/H8evA7okAlMeTb0hbULDKmZpaoJQuL1ndkhC+F8Jx++oCop19SjrrIPuoCcZu1NPm kDZGPIQitb3+Aw5yqeVZrF5FItRTcO7RzAHh+bOEX5X7jNRDWWq7KbMwcpRTNt/upb3v IDGXza4QauO/Bj/l1Mh+5Ee5ec2D/sShIVdKdCs5GQYRxnfDMHN5oA6wzqcPyhZA5z39 KlvRceWXIUbLGL41hIhabVozVh36ZjkSv33ky2b6SIqi34HfLuO0f8yzXSQBjGVY/zUw Ssug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793413618; x=1794018418; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=w0sP9g9K0qnXPezFXNJXSocNniQdxPAJlla7ZkrNcCk=; b=lVk1zCvt1S3mLwAzCuYHLoRbQ7ARuWRl7zjgMpg4oRWKQkSdLp09RVRKEcVaTZCjFF ft5p7iMJb/jnr8kEhkLgqIicOwnpuPy54BSowmU3qfFQTP+OHaD7Z02ht0Qx1iAriZQ4 SbTfA1hlKcGL+PI7fZD7SvRuOyd8Mkns7goWQiAEESglc0eSzccvhJJz/LpMigvzfXFQ 72ILgsZmREdUn8EXYquGELbZfz4mSw+q8RkG7j8jbUagTud+0w5pqxlaesLM5g0pQ4vF ccle2jQjbyPeDi2xcHo7AQMYGp7ERbCblJTZvqz+dVMCh1BPfXZLgKm1TiFqqjXATy8d mT7Q== X-Forwarded-Encrypted: i=1; AKwUvBxa5yUrVW+Y46eEpmrGYoiLUIrpuG4FpwiweGYsrgHGaCAbvwuOqobqB321hlOo1JHPuA2Hgeu8/U3Diw==@lists.linux.dev X-Gm-Message-State: AFq9FYJOAFn/X/8vbaxQ2AY0opTd3NHZzhWFh4BWMv0+8qNt0flsKplT 9wQDCqBEMeh1YX3dOlCzChPVyy/6uB0p11lRS6YsNXInYh848xR4yQMh X-Gm-Gg: AYBFou3/XChzfHALoDEHwXPeipqDMOJmBFfKpr8uZSIgqjk2b2aOvmv6LhfhP0QW+an TJejutClushtIp5rSmee6oAlq7sbyb2qd6IhpgkpTAhzeZmFbRNiQ/QlPrtrOElo9F3xNG2JMrU AInNU815ZeqM6UKUlXgHqOwbS13vKjc0ZNnlH00rjmRoak0N2Sf3DUcQSDSRktSxfnA1THydVLx IF0nQ5BVkUN/oBYFW8krsee+I4vCxPxC2Cj8txCs9Z89WVi0mDtkxDWCZ5Kn6K/j2lhkxXc3NA5 4yku5DyxwH1iL9NZCgJVhqlzvXdPwJroic9RjdKNep6/0SVCdxuVQ/fgkTpcTDokgM2R9LR4yem 45/i4odAmYpk2v5qXlXMFGXfOASG5scVpJJm7Mwjaz84ExfdeW5B4meTkgdYwAec833iaOOlECq kOzIuWXj6PVvj4MLLMRJiBndaGAbqGnKg0OzqAjJzbrZM1fkAZyydppI23nk9B21c9Xny67h/BV ksIANHTiE8i5giFuUVFBxFgsor3RpWexS5u3+cydc8eGEQfRGunf+mK1p4qoub3mKNsvKE5rY6e +Qz+lVaR1pgLHQqi7OE3fjxC4baRkoIzE3M66MenDFdAN9AMPKBHJOc63yk3YxZEontdei4P2iS 4vL7otg== X-Received: by 2002:a05:6830:4389:b0:81d:54f9:d6a3 with SMTP id 46e09a7af769-85d36313dd3mr3454977a34.4.1793413617785; Fri, 30 Oct 2026 19:26:57 -0700 (PDT) Received: from AMD.home.internal (dhcp-9-244-8-156.gobrightspeed.net. [9.244.8.156]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-85d354cd9bbsm3271119a34.16.2026.10.30.19.26.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2026 19:26:56 -0700 (PDT) From: Enzo Adriano To: Andre Przywara , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Junhui Liu , Jerome Brunet , Pablo Mazzini , Vinicius Pedrosa Subject: [PATCH v2 2/3] arm64: dts: allwinner: add A733 SoC description Date: Fri, 30 Oct 2026 22:26:54 -0400 Message-ID: <20261031020640-263f7b05-a7s-dt-v2-2@gmail.com> In-Reply-To: <20261031020640-263f7b05-a7s-dt-v2-0@gmail.com> References: <20261031020640-263f7b05-a7s-dt-v2-0@gmail.com> X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-1.19 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[172.234.253.10:from]; SUSPICIOUS_RECIPS(1.50)[]; DMARC_POLICY_SOFTFAIL(1.00)[gmail.com : SPF not aligned (relaxed), No valid DKIM,none]; MAILLIST(-0.18)[generic]; BAD_REP_POLICIES(0.10)[]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; TAGGED_RCPT(0.00)[dt]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWELVE(0.00)[16]; FREEMAIL_CC(0.00)[kernel.org,vger.kernel.org,lists.infradead.org,lists.linux.dev,pigmoral.tech,baylibre.com,gmail.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[sea.lore.kernel.org:helo,sea.lore.kernel.org:rdns]; FORGED_SENDER_MAILLIST(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; FROM_NEQ_ENVFROM(0.00)[enzoadrianocode@gmail.com,linux-sunxi@lists.linux.dev]; TAGGED_FROM(0.00)[bounces-27014-noreply=patchwork.local]; R_SPF_ALLOW(0.00)[+ip4:172.234.253.10]; FREEMAIL_TO(0.00)[arm.com,kernel.org,gmail.com,sholland.org]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:63949, ipnet:172.234.224.0/19, country:SG]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc20261015:i=2]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[172.234.253.10:from] X-Rspamd-Queue-Id: EDC2D1C206E X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: INBOX Describe the CPUs, PSCI, architectural timers, GIC, RTC, main and always-on clock/reset and pin controllers. Include all main and R-domain UART/I2C instances and all four MMC controllers with their documented pin groups. MMC0/1/2 use the existing A733/D1 binding. MMC3 uses the distinct eMMC binding because its DMA descriptors differ; it remains disabled. Add the GIC maintenance PPI 9 and ARMv8.2 EL2 virtual-timer PPI 12. The GICD/GICR/ITS windows and noncoherent attributes agree with Andre Przywara's public A733 reference and the A523 integration precedent. The manual's CPUX interconnect diagram supports noncoherency as an integration inference. The ITS stays disabled until its clock/reset and MSI path are integrated. AI assistance: Codex:gpt-6-astra. Assisted-by: LLM Signed-off-by: Enzo Adriano --- .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 624 ++++++++++++++++++ 1 file changed, 624 insertions(+) create mode 100644 arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi new file mode 100644 index 0000000000000000000000000000000000000000..522eda3d5dc9c7824dac41017162548e7a39d0a2 --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi @@ -0,0 +1,624 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR MIT) + +#include +#include +#include +#include +#include +#include + +/ { + #address-cells = <2>; + #size-cells = <2>; + interrupt-parent = <&gic>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + compatible = "arm,cortex-a55"; + device_type = "cpu"; + reg = <0x0>; + enable-method = "psci"; + }; + + cpu1: cpu@100 { + compatible = "arm,cortex-a55"; + device_type = "cpu"; + reg = <0x100>; + enable-method = "psci"; + }; + + cpu2: cpu@200 { + compatible = "arm,cortex-a55"; + device_type = "cpu"; + reg = <0x200>; + enable-method = "psci"; + }; + + cpu3: cpu@300 { + compatible = "arm,cortex-a55"; + device_type = "cpu"; + reg = <0x300>; + enable-method = "psci"; + }; + + cpu4: cpu@400 { + compatible = "arm,cortex-a55"; + device_type = "cpu"; + reg = <0x400>; + enable-method = "psci"; + }; + + cpu5: cpu@500 { + compatible = "arm,cortex-a55"; + device_type = "cpu"; + reg = <0x500>; + enable-method = "psci"; + }; + + cpu6: cpu@600 { + compatible = "arm,cortex-a76"; + device_type = "cpu"; + reg = <0x600>; + enable-method = "psci"; + }; + + cpu7: cpu@700 { + compatible = "arm,cortex-a76"; + device_type = "cpu"; + reg = <0x700>; + enable-method = "psci"; + }; + }; + + osc: osc-clk { + compatible = "fixed-clock"; + #clock-cells = <0>; + }; + + psci { + compatible = "arm,psci-0.2"; + method = "smc"; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , + , + , + , + ; + arm,no-tick-in-suspend; + }; + + soc@0 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x0 0x40000000>; + + pio: pinctrl@2000000 { + compatible = "allwinner,sun60i-a733-pinctrl"; + reg = <0x02000000 0x800>; + interrupts = , + , + , + , + , + , + , + , + , + ; + clocks = <&ccu CLK_APB1>, <&osc>, <&rtc CLK_OSC32K>; + clock-names = "apb", "hosc", "losc"; + gpio-controller; + #gpio-cells = <3>; + interrupt-controller; + #interrupt-cells = <3>; + + mmc0_pins: mmc0-pins { + pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; + function = "mmc0"; + allwinner,pinmux = <2>; + drive-strength = <30>; + bias-pull-up; + }; + + mmc1_pins: mmc1-pins { + pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5"; + function = "mmc1"; + allwinner,pinmux = <2>; + drive-strength = <30>; + bias-pull-up; + }; + + mmc2_pins: mmc2-pins { + pins = "PC5", "PC6", "PC8", "PC9", "PC10", "PC11", + "PC13", "PC14", "PC15", "PC16"; + function = "mmc2"; + allwinner,pinmux = <3>; + drive-strength = <30>; + bias-pull-up; + }; + + mmc3_pins: mmc3-pins { + pins = "PC5", "PC6", "PC8", "PC9", "PC10", "PC11", + "PC13", "PC14", "PC15", "PC16"; + function = "mmc3"; + allwinner,pinmux = <4>; + drive-strength = <30>; + bias-pull-up; + }; + + uart0_pb_pins: uart0-pb-pins { + pins = "PB9", "PB10"; + function = "uart0"; + allwinner,pinmux = <2>; + }; + }; + + ccu: clock-controller@2002000 { + compatible = "allwinner,sun60i-a733-ccu"; + reg = <0x02002000 0x2000>; + clocks = <&osc>, <&rtc CLK_OSC32K>, <&rtc CLK_IOSC>, + <&rtc CLK_OSC32K_FANOUT>; + clock-names = "hosc", "losc", "iosc", "losc-fanout"; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + uart0: serial@2500000 { + compatible = "allwinner,sun60i-a733-uart", + "snps,dw-apb-uart"; + reg = <0x02500000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART0>; + resets = <&ccu RST_BUS_UART0>; + status = "disabled"; + }; + + uart1: serial@2501000 { + compatible = "allwinner,sun60i-a733-uart", + "snps,dw-apb-uart"; + reg = <0x02501000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART1>; + resets = <&ccu RST_BUS_UART1>; + status = "disabled"; + }; + + uart2: serial@2502000 { + compatible = "allwinner,sun60i-a733-uart", + "snps,dw-apb-uart"; + reg = <0x02502000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART2>; + resets = <&ccu RST_BUS_UART2>; + status = "disabled"; + }; + + uart3: serial@2503000 { + compatible = "allwinner,sun60i-a733-uart", + "snps,dw-apb-uart"; + reg = <0x02503000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART3>; + resets = <&ccu RST_BUS_UART3>; + status = "disabled"; + }; + + uart4: serial@2504000 { + compatible = "allwinner,sun60i-a733-uart", + "snps,dw-apb-uart"; + reg = <0x02504000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART4>; + resets = <&ccu RST_BUS_UART4>; + status = "disabled"; + }; + + uart5: serial@2505000 { + compatible = "allwinner,sun60i-a733-uart", + "snps,dw-apb-uart"; + reg = <0x02505000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART5>; + resets = <&ccu RST_BUS_UART5>; + status = "disabled"; + }; + + uart6: serial@2506000 { + compatible = "allwinner,sun60i-a733-uart", + "snps,dw-apb-uart"; + reg = <0x02506000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&ccu CLK_BUS_UART6>; + resets = <&ccu RST_BUS_UART6>; + status = "disabled"; + }; + + i2c0: i2c@2510000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02510000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C0>; + resets = <&ccu RST_BUS_I2C0>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c1: i2c@2511000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02511000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C1>; + resets = <&ccu RST_BUS_I2C1>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c2: i2c@2512000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02512000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C2>; + resets = <&ccu RST_BUS_I2C2>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c3: i2c@2513000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02513000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C3>; + resets = <&ccu RST_BUS_I2C3>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c4: i2c@2514000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02514000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C4>; + resets = <&ccu RST_BUS_I2C4>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c5: i2c@2515000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02515000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C5>; + resets = <&ccu RST_BUS_I2C5>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c6: i2c@2516000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02516000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C6>; + resets = <&ccu RST_BUS_I2C6>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c7: i2c@2517000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02517000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C7>; + resets = <&ccu RST_BUS_I2C7>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c8: i2c@2518000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02518000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C8>; + resets = <&ccu RST_BUS_I2C8>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c9: i2c@2519000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x02519000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C9>; + resets = <&ccu RST_BUS_I2C9>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c10: i2c@251a000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x0251a000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C10>; + resets = <&ccu RST_BUS_I2C10>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c11: i2c@251b000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x0251b000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C11>; + resets = <&ccu RST_BUS_I2C11>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + i2c12: i2c@251c000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x0251c000 0x400>; + interrupts = ; + clocks = <&ccu CLK_BUS_I2C12>; + resets = <&ccu RST_BUS_I2C12>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + gic: interrupt-controller@3400000 { + compatible = "arm,gic-v3"; + reg = <0x03400000 0x10000>, <0x03460000 0x100000>; + interrupts = ; + dma-noncoherent; + interrupt-controller; + #interrupt-cells = <3>; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + its: msi-controller@3440000 { + compatible = "arm,gic-v3-its"; + reg = <0x03440000 0x20000>; + msi-controller; + #msi-cells = <1>; + dma-noncoherent; + status = "disabled"; + }; + }; + + mmc0: mmc@4020000 { + compatible = "allwinner,sun60i-a733-mmc", + "allwinner,sun20i-d1-mmc"; + reg = <0x04020000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>; + clock-names = "ahb", "mmc"; + resets = <&ccu RST_BUS_MMC0>; + reset-names = "ahb"; + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + mmc1: mmc@4021000 { + compatible = "allwinner,sun60i-a733-mmc", + "allwinner,sun20i-d1-mmc"; + reg = <0x04021000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>; + clock-names = "ahb", "mmc"; + resets = <&ccu RST_BUS_MMC1>; + reset-names = "ahb"; + pinctrl-names = "default"; + pinctrl-0 = <&mmc1_pins>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + mmc2: mmc@4022000 { + compatible = "allwinner,sun60i-a733-mmc", + "allwinner,sun20i-d1-mmc"; + reg = <0x04022000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>; + clock-names = "ahb", "mmc"; + resets = <&ccu RST_BUS_MMC2>; + reset-names = "ahb"; + pinctrl-names = "default"; + pinctrl-0 = <&mmc2_pins>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + mmc3: mmc@4023000 { + compatible = "allwinner,sun60i-a733-emmc"; + reg = <0x04023000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_MMC3>, <&ccu CLK_MMC3>, + <&ccu CLK_MBUS_STORE>, <&ccu CLK_BUS_MSI_LITE1>; + clock-names = "ahb", "mmc", "mbus", "msi"; + resets = <&ccu RST_BUS_MMC3>; + reset-names = "ahb"; + pinctrl-names = "default"; + pinctrl-0 = <&mmc3_pins>; + status = "disabled"; + }; + + r_ccu: clock-controller@7010000 { + compatible = "allwinner,sun60i-a733-r-ccu"; + reg = <0x07010000 0x250>; + clocks = <&osc>, <&rtc CLK_OSC32K>, <&rtc CLK_IOSC>, + <&ccu CLK_SYS_24M>, <&ccu CLK_PLL_PERIPH0_200M>, + <&ccu CLK_PLL_PERIPH0_300M>, + <&ccu CLK_PLL_PERIPH1_300M>; + clock-names = "hosc", "losc", "iosc", "sys-24m", + "pll-periph0-200m", "pll-periph0-300m", + "pll-periph1-300m"; + #clock-cells = <1>; + #reset-cells = <1>; + }; + + nmi_intc: interrupt-controller@7010320 { + compatible = "allwinner,sun60i-a733-nmi", + "allwinner,sun55i-a523-nmi"; + reg = <0x07010320 0xc>; + interrupts = ; + interrupt-controller; + #interrupt-cells = <2>; + }; + + r_pio: pinctrl@7025000 { + compatible = "allwinner,sun60i-a733-r-pinctrl"; + reg = <0x07025000 0x800>; + interrupts = , + ; + clocks = <&r_ccu CLK_R_APB0>, <&osc>, <&rtc CLK_OSC32K>; + clock-names = "apb", "hosc", "losc"; + gpio-controller; + #gpio-cells = <3>; + interrupt-controller; + #interrupt-cells = <3>; + + r_i2c0_pl_pins: r-i2c0-pl-pins { + pins = "PL0", "PL1"; + function = "r_i2c0"; + allwinner,pinmux = <2>; + }; + }; + + r_uart0: serial@7080000 { + compatible = "allwinner,sun60i-a733-uart", + "snps,dw-apb-uart"; + reg = <0x07080000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&r_ccu CLK_BUS_R_UART0>; + resets = <&r_ccu RST_BUS_R_UART0>; + status = "disabled"; + }; + + r_uart1: serial@7081000 { + compatible = "allwinner,sun60i-a733-uart", + "snps,dw-apb-uart"; + reg = <0x07081000 0x400>; + interrupts = ; + reg-shift = <2>; + reg-io-width = <4>; + clocks = <&r_ccu CLK_BUS_R_UART1>; + resets = <&r_ccu RST_BUS_R_UART1>; + status = "disabled"; + }; + + r_i2c0: i2c@7083000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x07083000 0x400>; + interrupts = ; + clocks = <&r_ccu CLK_BUS_R_I2C0>; + resets = <&r_ccu RST_BUS_R_I2C0>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + r_i2c1: i2c@7084000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x07084000 0x400>; + interrupts = ; + clocks = <&r_ccu CLK_BUS_R_I2C1>; + resets = <&r_ccu RST_BUS_R_I2C1>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + r_i2c2: i2c@7085000 { + compatible = "allwinner,sun60i-a733-i2c", + "allwinner,sun8i-v536-i2c", + "allwinner,sun6i-a31-i2c"; + reg = <0x07085000 0x400>; + interrupts = ; + clocks = <&r_ccu CLK_BUS_R_I2C2>; + resets = <&r_ccu RST_BUS_R_I2C2>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + rtc: rtc@7090000 { + compatible = "allwinner,sun60i-a733-rtc", + "allwinner,sun50i-r329-rtc"; + reg = <0x07090000 0x400>; + interrupts = ; + clocks = <&r_ccu CLK_BUS_R_RTC>, <&osc>, <&r_ccu CLK_R_AHB>; + clock-names = "bus", "hosc", "ahb"; + #clock-cells = <1>; + }; + }; +};