From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.54 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795753790; b=kD7u6Od+XTrsGvgHH0bQ535dk4NaFanhqx4Xjk/Yg6P7efv6s8EmhjuLavlgsyqvLqRa ObtaO3HG8i6H5kmzYLASRM964Bx51J6qLVK920dMTBC8uJtKuofGzfwhoGw68gZIcrSGc zufHEAFeysoc4aQKTO1T+sjk04jc7OEGORoUbFpIXxrjqiLpd0ia2gjaGoUXNDmPjoW6N yMdki3BX58q+WzhZaXX4jfl3wOGrNUUcPfZh0dpRDsweR8bLN85jOoYOXLzeUu09Q45KW NPcjzGrb11g3ULa5Q+W9xPIUBRAVtY4xhkrt5bYkNvl3Dgj0s6ouN7hMhNBq/tOyXQQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795753790; 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-Transfer-Encoding:Content-Type; bh=GCWB8FuEhHVOfDpGcddmAsTtaa85coe0yJXmYchM8Pk=; b=feabglOVm5yKXvm/Wshp2b6B4bmIr90DZMumPL77iEve8nSNRMGZ+XXV3UQSkwXqPh8f ruD+9/pDAWIpSK+LDIOCKNhBk/Dq2Y8F2aTdyyh2EzeFkCl+DdJr+nG/vIsCvdX8duLum tTySvmlV39MqdFIjUdalV6jW5WeI61NuQQfhmrMLFqM0OFviwDxr/TRlZuduxLDPmRi49 bsZIqVXh4MryeaOyDFey/zbX4ZYWjV9aRiQ5LdnSLAcG0GgO7BthjBq5Le0BNLPBLLVEN qgS3JA86X462wCDIbIiVlzyl9l/Bhe1L/MtDA8x+tJd80aFr5wyAfN67IWhWGot2yqw== 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=OJyrZv9G; arc=none smtp.remote-ip=209.85.128.54 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 498FD606A31E for ; Fri, 27 Nov 2026 04:29:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 498FD606A31E 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=OJyrZv9G Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4bb6ba3b244so78154485e9.3 for ; Thu, 26 Nov 2026 20:29:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795753788; x=1796358588; darn=vger.kernel.org; h=content-type:content-transfer-encoding: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=GCWB8FuEhHVOfDpGcddmAsTtaa85coe0yJXmYchM8Pk=; b=OJyrZv9G+z1HP+yR00uthYwYIlDxhMJc1m03kMTC80MlNcmwZK9450oHvVAm4k6Wgm s6gce2SiD1Nkp0qytVSc4fcStaRdyW/nYRQgATxf8XnI3RDS5mXKxiaSjXYOlN4o1z6l Q8jfJ3qPqUTjE0SeCuNAKidyGGhxEJtxGufKcRl/C1sMcWH4YcHmtMm258SG2hM9LS9K V7U6x90t5a7Fhd0eJ7qMO/TyNykLg6cmVOIs8f/uBlOgXf+FRSON6ALcb8DbQJYxulZK 9BI/dgW05yIA++qA3a3W0Bv8xVP2mTx9xU2lHMBnB6MR6m9EsVU4eFCFZTs37iqgXmO1 rwsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795753788; x=1796358588; h=content-type:content-transfer-encoding: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=GCWB8FuEhHVOfDpGcddmAsTtaa85coe0yJXmYchM8Pk=; b=sPK4LrJadpMLbruzGy8CXDyy3Wd6FvllOI0Zuu+lNF5iRReJfxASGC/CKb12C6HYb4 /mnwq5UhIgSNDl0bhs2Nh9UtblmlnizcqzO4nt72YlYPu1QscxKURbuvdjC+93IkIBjn S/OY6C3udxBBiPMWCAf5/ECCoLK/gJZiFzEKPWUaY1XpidS/zn48yVA55AqPcjbFMUiQ n9txcthlVe3wP6Jg9EutfnOubU9xNmHI0kYIF/4uRPMYCZabfbG22w/yfVHGiQfZtFXQ fvxBoxWWn1jmpxqsQcMWLhA2Eh9XKo0FRwNvH7d8VUHRxajf9n7hPKwtH7TIvwLpfZSs xizA== X-Forwarded-Encrypted: i=1; AL+hErH3+LZ4KWPKlLcfplIePReiXBABPMheEVeB3+W8I0TBQZqg/xrYiWJ6Sb1TnrZlCoTdrjriiktdnXZs7lM=@vger.kernel.org X-Gm-Message-State: APuU4Z/yLfhtp6ACsmje5IvBu7q7sGzwHj3P2bLQYqy0Z0QsGGsL162+ V9YTXJ9WoETvY0NYqTTyMuuHvMIzQHNGR+S097/Bi4Tmr60L6AMzW+g4 X-Gm-Gg: AZFdTZd4tIhxho8hTM1CO4+Mb1mI4+OjYAnxODCTRvTiSD5HwZGIQHI0+PKDdCFxycv 6qNMqaKTqGnTKmHu3qnq9w8Sfm5moy2U1+9SBqh1RddWlpfbQrXsriTzDpm2q8escXIS2QLaKGg 8vm/XuWtEZaeoPC/gymOmI0UNn0t73mfiO9Cs5Qj1y85TQmsw/3/LCTEqXCXs/vuehEkROllnxn nhdLa3h7qtSoTw7EArmqfSnqGnAuq42hiFFC2GPuLIWjlLZzjJy0b2v0xqb5y/OMS9WSG2zxeFl bNYAd6x2Somi2uKAGIcuA/+lpJIuYfJqXXPymEP7ADseiVuRDZoi3trT188OVnUhePBubhywhgH GRCl8FzKYz831nh+D5u/nsJ04cOUpnqg/Msj2xLEOWp/mYwpVuRMBcVZ+3jNsT+L/Wvudvw2mjU QCNrdLWx2TbXmw6DgfThZ+Ae2cP1EwRxu3Yo1bHv7iOqdDQK+nyJReODOy1d9+M+VsKtEuWGGzv /2ZOhUvhi9b9+fSqlLF4t/bv6wlhsirZBzyAcJJKBL7TeSYsNQGQRnkQYEOCea5gIM8k71pTbns BLpkqRib0j18PPO1rlcLsG463yyPT6BSIYZg3Vce1unfJSBp2SvGv0GZVcicZ9pLnYkxl/z1A4P ezU+/VL+a/jc+PHyA7XA2WLHLYsSRqYh+VvOA9yLI+5r8T//gmo5Q8x1oeK9FSyiEF4WIwCWo2j t9BeRbw9+xRu4CRydj3j//s0P+PwUoS24X/tnI+exA0gXa8co4vBuKfSeJt8DJytbEJ2hMVthp7 A9ZL3eQ+L7FO8g6tzbuVtfGT5uCOCQPKgh/XC9pXAHwJWmo5bGsrs3A2OaXNz8= X-Received: by 2002:a05:600c:3113:b0:4bb:693e:4c8e with SMTP id 5b1f17b1804b1-4bb88816a53mr491770365e9.21.1795753787328; Thu, 26 Nov 2026 20:29:47 -0800 (PST) Received: from jernej-laptop.localnet (77-38-7-250.dynamic.telemach.net. [77.38.7.250]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb853b2437sm913769445e9.13.2026.11.26.20.29.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2026 20:29:46 -0800 (PST) From: Jernej =?UTF-8?B?xaBrcmFiZWM=?= To: andre.przywara@arm.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, wens@kernel.org, samuel@sholland.org, Enzo Adriano 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 , Alexander Sverdlin , Jun Yan , Lukas Schmid , Cristian Filipescu , Norman Herms Subject: Re: [PATCH v6 2/5] arm64: dts: allwinner: add A733 SoC description Date: Fri, 27 Nov 2026 05:29:44 +0100 Message-ID: In-Reply-To: <20261126-a733-cubie-a7s-dt-v6-2@gmail.com> References: <20261126-a733-cubie-a7s-dt-v6-0@gmail.com> <20261126-a733-cubie-a7s-dt-v6-2@gmail.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Dne =C4=8Detrtek, 26. november 2026 ob 21:35:40 Srednjeevropski standardni = =C4=8Das je Enzo Adriano napisal(a): > The Allwinner A733 combines six Cortex-A55 and two Cortex-A76 cores. > Add the common device tree for the first Cubie A7A, A7S and A7Z board > DTS files. Describe the CPUs, PSCI, architectural timers, GIC, RTC, > main and always-on clock/reset and pin controllers, UART, I2C and > MMC. The preceding revision booted on the A7S and A7Z. >=20 > The A7S schematic, sheets 7 and 16, shows the EEPROM wired to I2C0 > on PG8/PG9. Use mux 6 as documented in the A733 Datasheet v1.00, > section 4.2.6, table 4-36. The A7A schematic shows the external RTC > on S_TWI1. Add its R-I2C1 pin group on PL12/PL13, mux 3. >=20 > The GIC maintenance PPI 9 and ARMv8.2 EL2 virtual-timer PPI 12 follow > the A733 User Manual v1.00, section 12.2.3. The GICD/GICR/ITS windows > and noncoherent attributes follow Andre Przywara's A733 reference > and the A523 precedent. The CPUX interconnect diagram in section > 5.1.2 supports the noncoherency inference. Leave the ITS disabled > pending clock/reset and MSI integration. >=20 > Describe the single DynamIQ unit and shared L3 shown in section > 5.1.2, figure 5-1. Partition PPI 7 (section 12.2.3, table 12-1) > between the Cortex-A55 and Cortex-A76 PMUs so each probes its own > core type. Defer capacity-dmips-mhz until it is measured on A733. >=20 > Link: https://gist.githubusercontent.com/apritzel/60fd7379b9560a15b8b3529= 86b69d39f/raw/efd9cdf8f26ba5b0c7e138f093af44a1cf322469/sun60i-a733.dts > Link: https://lore.kernel.org/r/20261126172253.1097838-2-andre.przywara@a= rm.com > Reviewed-by: Andre Przywara > Tested-by: Vinicius Pedrosa # Radxa = Cubie A7Z V1.11 > Tested-by: Norman Herms # Radxa Cubie A7S (A733) > Co-developed-by: Andre Przywara > Signed-off-by: Andre Przywara > Signed-off-by: Enzo Adriano > --- > Changes since v5: > - Mark the I2C0 PG8/PG9 group /omit-if-no-ref/, as requested. This > satisfies Andre's review condition. > - Move the RTC clock include after the A733 clock headers and cite > the A733 datasheet and A7S schematic for the I2C0 pins. > - Fold in Andre's R-I2C1 pin group for A7A. A7S and A7Z leave > it unused. A7S still references the I2C0 group. > - Vinicius tested the v5 DTSI with his A7Z v1.11 board DT. Norman > tested the v5 series on A7S. Their tags here cover the SoC DTSI. >=20 > .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 671 ++++++++++++++++++ > 1 file changed, 671 insertions(+) > create mode 100644 arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi >=20 > 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 000000000000..e062b08006da > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi > @@ -0,0 +1,671 @@ > +// SPDX-License-Identifier: (GPL-2.0-only OR MIT) > + > +#include > +#include > +#include > +#include > +#include > +#include > + > +/ { > + #address-cells =3D <2>; > + #size-cells =3D <2>; > + interrupt-parent =3D <&gic>; > + > + cpus { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + cpu-map { > + cluster0 { > + core0 { > + cpu =3D <&cpu0>; > + }; > + > + core1 { > + cpu =3D <&cpu1>; > + }; > + > + core2 { > + cpu =3D <&cpu2>; > + }; > + > + core3 { > + cpu =3D <&cpu3>; > + }; > + > + core4 { > + cpu =3D <&cpu4>; > + }; > + > + core5 { > + cpu =3D <&cpu5>; > + }; > + > + core6 { > + cpu =3D <&cpu6>; > + }; > + > + core7 { > + cpu =3D <&cpu7>; > + }; > + }; > + }; > + > + cpu0: cpu@0 { > + compatible =3D "arm,cortex-a55"; > + device_type =3D "cpu"; > + reg =3D <0x0>; > + enable-method =3D "psci"; > + }; > + > + cpu1: cpu@100 { > + compatible =3D "arm,cortex-a55"; > + device_type =3D "cpu"; > + reg =3D <0x100>; > + enable-method =3D "psci"; > + }; > + > + cpu2: cpu@200 { > + compatible =3D "arm,cortex-a55"; > + device_type =3D "cpu"; > + reg =3D <0x200>; > + enable-method =3D "psci"; > + }; > + > + cpu3: cpu@300 { > + compatible =3D "arm,cortex-a55"; > + device_type =3D "cpu"; > + reg =3D <0x300>; > + enable-method =3D "psci"; > + }; > + > + cpu4: cpu@400 { > + compatible =3D "arm,cortex-a55"; > + device_type =3D "cpu"; > + reg =3D <0x400>; > + enable-method =3D "psci"; > + }; > + > + cpu5: cpu@500 { > + compatible =3D "arm,cortex-a55"; > + device_type =3D "cpu"; > + reg =3D <0x500>; > + enable-method =3D "psci"; > + }; > + > + cpu6: cpu@600 { > + compatible =3D "arm,cortex-a76"; > + device_type =3D "cpu"; > + reg =3D <0x600>; > + enable-method =3D "psci"; > + }; > + > + cpu7: cpu@700 { > + compatible =3D "arm,cortex-a76"; > + device_type =3D "cpu"; > + reg =3D <0x700>; > + enable-method =3D "psci"; > + }; > + }; > + > + hosc: clock-hosc { > + compatible =3D "fixed-clock"; > + #clock-cells =3D <0>; > + }; > + > + pmu-a55 { > + compatible =3D "arm,cortex-a55-pmu"; > + interrupts =3D ; > + }; > + > + pmu-a76 { > + compatible =3D "arm,cortex-a76-pmu"; > + interrupts =3D ; > + }; > + > + psci { > + compatible =3D "arm,psci-0.2"; > + method =3D "smc"; > + }; > + > + timer { > + compatible =3D "arm,armv8-timer"; > + interrupts =3D , > + , > + , > + , > + ; > + arm,no-tick-in-suspend; > + }; > + > + soc@0 { > + compatible =3D "simple-bus"; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges =3D <0x0 0x0 0x0 0x40000000>; > + > + pio: pinctrl@2000000 { > + compatible =3D "allwinner,sun60i-a733-pinctrl"; > + reg =3D <0x02000000 0x800>; > + interrupts =3D , > + , > + , > + , > + , > + , > + , > + , > + , > + ; > + clocks =3D <&ccu CLK_APB1>, <&hosc>, <&rtc CLK_OSC32K>; > + clock-names =3D "apb", "hosc", "losc"; > + gpio-controller; > + #gpio-cells =3D <3>; > + interrupt-controller; > + #interrupt-cells =3D <3>; > + > + /omit-if-no-ref/ > + i2c0_pg_pins: i2c0-pg-pins { > + pins =3D "PG8", "PG9"; > + function =3D "i2c0"; > + allwinner,pinmux =3D <6>; > + }; > + > + mmc0_pins: mmc0-pins { > + pins =3D "PF0", "PF1", "PF2", "PF3", "PF4", "PF5"; > + function =3D "mmc0"; > + allwinner,pinmux =3D <2>; > + drive-strength =3D <30>; > + bias-pull-up; > + }; > + > + mmc1_pins: mmc1-pins { > + pins =3D "PG0", "PG1", "PG2", "PG3", "PG4", "PG5"; > + function =3D "mmc1"; > + allwinner,pinmux =3D <2>; > + drive-strength =3D <30>; > + bias-pull-up; > + }; > + > + mmc2_pins: mmc2-pins { > + pins =3D "PC5", "PC6", "PC8", "PC9", "PC10", "PC11", > + "PC13", "PC14", "PC15", "PC16"; > + function =3D "mmc2"; > + allwinner,pinmux =3D <3>; > + drive-strength =3D <30>; > + bias-pull-up; > + }; > + > + uart0_pb_pins: uart0-pb-pins { > + pins =3D "PB9", "PB10"; > + function =3D "uart0"; > + allwinner,pinmux =3D <2>; > + }; > + }; > + > + ccu: clock-controller@2002000 { > + compatible =3D "allwinner,sun60i-a733-ccu"; > + reg =3D <0x02002000 0x2000>; > + clocks =3D <&hosc>, <&rtc CLK_OSC32K>, <&rtc CLK_IOSC>, > + <&rtc CLK_OSC32K_FANOUT>; > + clock-names =3D "hosc", "losc", "iosc", "losc-fanout"; > + #clock-cells =3D <1>; > + #reset-cells =3D <1>; > + }; > + > + uart0: serial@2500000 { > + compatible =3D "allwinner,sun60i-a733-uart", > + "snps,dw-apb-uart"; > + reg =3D <0x02500000 0x400>; > + interrupts =3D ; > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + clocks =3D <&ccu CLK_BUS_UART0>; > + resets =3D <&ccu RST_BUS_UART0>; > + status =3D "disabled"; > + }; > + > + uart1: serial@2501000 { > + compatible =3D "allwinner,sun60i-a733-uart", > + "snps,dw-apb-uart"; > + reg =3D <0x02501000 0x400>; > + interrupts =3D ; > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + clocks =3D <&ccu CLK_BUS_UART1>; > + resets =3D <&ccu RST_BUS_UART1>; > + status =3D "disabled"; > + }; > + > + uart2: serial@2502000 { > + compatible =3D "allwinner,sun60i-a733-uart", > + "snps,dw-apb-uart"; > + reg =3D <0x02502000 0x400>; > + interrupts =3D ; > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + clocks =3D <&ccu CLK_BUS_UART2>; > + resets =3D <&ccu RST_BUS_UART2>; > + status =3D "disabled"; > + }; > + > + uart3: serial@2503000 { > + compatible =3D "allwinner,sun60i-a733-uart", > + "snps,dw-apb-uart"; > + reg =3D <0x02503000 0x400>; > + interrupts =3D ; > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + clocks =3D <&ccu CLK_BUS_UART3>; > + resets =3D <&ccu RST_BUS_UART3>; > + status =3D "disabled"; > + }; > + > + uart4: serial@2504000 { > + compatible =3D "allwinner,sun60i-a733-uart", > + "snps,dw-apb-uart"; > + reg =3D <0x02504000 0x400>; > + interrupts =3D ; > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + clocks =3D <&ccu CLK_BUS_UART4>; > + resets =3D <&ccu RST_BUS_UART4>; > + status =3D "disabled"; > + }; > + > + uart5: serial@2505000 { > + compatible =3D "allwinner,sun60i-a733-uart", > + "snps,dw-apb-uart"; > + reg =3D <0x02505000 0x400>; > + interrupts =3D ; > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + clocks =3D <&ccu CLK_BUS_UART5>; > + resets =3D <&ccu RST_BUS_UART5>; > + status =3D "disabled"; > + }; > + > + uart6: serial@2506000 { > + compatible =3D "allwinner,sun60i-a733-uart", > + "snps,dw-apb-uart"; > + reg =3D <0x02506000 0x400>; > + interrupts =3D ; > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + clocks =3D <&ccu CLK_BUS_UART6>; > + resets =3D <&ccu RST_BUS_UART6>; > + status =3D "disabled"; > + }; > + > + i2c0: i2c@2510000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02510000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C0>; > + resets =3D <&ccu RST_BUS_I2C0>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c1: i2c@2511000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02511000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C1>; > + resets =3D <&ccu RST_BUS_I2C1>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c2: i2c@2512000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02512000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C2>; > + resets =3D <&ccu RST_BUS_I2C2>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c3: i2c@2513000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02513000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C3>; > + resets =3D <&ccu RST_BUS_I2C3>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c4: i2c@2514000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02514000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C4>; > + resets =3D <&ccu RST_BUS_I2C4>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c5: i2c@2515000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02515000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C5>; > + resets =3D <&ccu RST_BUS_I2C5>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c6: i2c@2516000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02516000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C6>; > + resets =3D <&ccu RST_BUS_I2C6>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c7: i2c@2517000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02517000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C7>; > + resets =3D <&ccu RST_BUS_I2C7>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c8: i2c@2518000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02518000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C8>; > + resets =3D <&ccu RST_BUS_I2C8>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c9: i2c@2519000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x02519000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C9>; > + resets =3D <&ccu RST_BUS_I2C9>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c10: i2c@251a000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x0251a000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C10>; > + resets =3D <&ccu RST_BUS_I2C10>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c11: i2c@251b000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x0251b000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C11>; > + resets =3D <&ccu RST_BUS_I2C11>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + i2c12: i2c@251c000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x0251c000 0x400>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_I2C12>; > + resets =3D <&ccu RST_BUS_I2C12>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + gic: interrupt-controller@3400000 { > + compatible =3D "arm,gic-v3"; > + reg =3D <0x03400000 0x10000>, <0x03460000 0x100000>; > + interrupts =3D ; > + dma-noncoherent; > + interrupt-controller; > + #interrupt-cells =3D <4>; > + #address-cells =3D <1>; > + #size-cells =3D <1>; > + ranges; > + > + its: msi-controller@3440000 { > + compatible =3D "arm,gic-v3-its"; > + reg =3D <0x03440000 0x20000>; > + msi-controller; > + #msi-cells =3D <1>; > + dma-noncoherent; > + status =3D "disabled"; > + }; > + > + ppi-partitions { > + ppi_a55: interrupt-partition-0 { > + affinity =3D <&cpu0 &cpu1 &cpu2 &cpu3 &cpu4 &cpu5>; > + }; > + > + ppi_a76: interrupt-partition-1 { > + affinity =3D <&cpu6 &cpu7>; > + }; > + }; > + }; > + > + mmc0: mmc@4020000 { > + compatible =3D "allwinner,sun60i-a733-mmc", > + "allwinner,sun20i-d1-mmc"; That's not really the case, is it? A733 emmc has support for voltage switch= ing, so regulator should be added here for voltage switching. I suggest that you drop this node until proper adjustment is made. Best regards, Jernej > + reg =3D <0x04020000 0x1000>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>; > + clock-names =3D "ahb", "mmc"; > + resets =3D <&ccu RST_BUS_MMC0>; > + reset-names =3D "ahb"; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&mmc0_pins>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + mmc1: mmc@4021000 { > + compatible =3D "allwinner,sun60i-a733-mmc", > + "allwinner,sun20i-d1-mmc"; > + reg =3D <0x04021000 0x1000>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>; > + clock-names =3D "ahb", "mmc"; > + resets =3D <&ccu RST_BUS_MMC1>; > + reset-names =3D "ahb"; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&mmc1_pins>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + mmc2: mmc@4022000 { > + compatible =3D "allwinner,sun60i-a733-mmc", > + "allwinner,sun20i-d1-mmc"; > + reg =3D <0x04022000 0x1000>; > + interrupts =3D ; > + clocks =3D <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>; > + clock-names =3D "ahb", "mmc"; > + resets =3D <&ccu RST_BUS_MMC2>; > + reset-names =3D "ahb"; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&mmc2_pins>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + r_ccu: clock-controller@7010000 { > + compatible =3D "allwinner,sun60i-a733-r-ccu"; > + reg =3D <0x07010000 0x250>; > + clocks =3D <&hosc>, <&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 =3D "hosc", "losc", "iosc", "sys-24m", > + "pll-periph0-200m", "pll-periph0-300m", > + "pll-periph1-300m"; > + #clock-cells =3D <1>; > + #reset-cells =3D <1>; > + }; > + > + nmi_intc: interrupt-controller@7010320 { > + compatible =3D "allwinner,sun60i-a733-nmi", > + "allwinner,sun55i-a523-nmi"; > + reg =3D <0x07010320 0xc>; > + interrupts =3D ; > + interrupt-controller; > + #interrupt-cells =3D <2>; > + }; > + > + r_pio: pinctrl@7025000 { > + compatible =3D "allwinner,sun60i-a733-r-pinctrl"; > + reg =3D <0x07025000 0x800>; > + interrupts =3D , > + ; > + clocks =3D <&r_ccu CLK_R_APB0>, <&hosc>, <&rtc CLK_OSC32K>; > + clock-names =3D "apb", "hosc", "losc"; > + gpio-controller; > + #gpio-cells =3D <3>; > + interrupt-controller; > + #interrupt-cells =3D <3>; > + > + r_i2c0_pl_pins: r-i2c0-pl-pins { > + pins =3D "PL0", "PL1"; > + function =3D "r_i2c0"; > + allwinner,pinmux =3D <2>; > + }; > + > + /omit-if-no-ref/ > + r_i2c1_pl_pins: r-i2c1-pl-pins { > + pins =3D "PL12", "PL13"; > + function =3D "r_i2c1"; > + allwinner,pinmux =3D <3>; > + }; > + }; > + > + r_uart0: serial@7080000 { > + compatible =3D "allwinner,sun60i-a733-uart", > + "snps,dw-apb-uart"; > + reg =3D <0x07080000 0x400>; > + interrupts =3D ; > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + clocks =3D <&r_ccu CLK_BUS_R_UART0>; > + resets =3D <&r_ccu RST_BUS_R_UART0>; > + status =3D "disabled"; > + }; > + > + r_uart1: serial@7081000 { > + compatible =3D "allwinner,sun60i-a733-uart", > + "snps,dw-apb-uart"; > + reg =3D <0x07081000 0x400>; > + interrupts =3D ; > + reg-shift =3D <2>; > + reg-io-width =3D <4>; > + clocks =3D <&r_ccu CLK_BUS_R_UART1>; > + resets =3D <&r_ccu RST_BUS_R_UART1>; > + status =3D "disabled"; > + }; > + > + r_i2c0: i2c@7083000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x07083000 0x400>; > + interrupts =3D ; > + clocks =3D <&r_ccu CLK_BUS_R_I2C0>; > + resets =3D <&r_ccu RST_BUS_R_I2C0>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + r_i2c1: i2c@7084000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x07084000 0x400>; > + interrupts =3D ; > + clocks =3D <&r_ccu CLK_BUS_R_I2C1>; > + resets =3D <&r_ccu RST_BUS_R_I2C1>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + r_i2c2: i2c@7085000 { > + compatible =3D "allwinner,sun60i-a733-i2c", > + "allwinner,sun8i-v536-i2c", > + "allwinner,sun6i-a31-i2c"; > + reg =3D <0x07085000 0x400>; > + interrupts =3D ; > + clocks =3D <&r_ccu CLK_BUS_R_I2C2>; > + resets =3D <&r_ccu RST_BUS_R_I2C2>; > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + status =3D "disabled"; > + }; > + > + rtc: rtc@7090000 { > + compatible =3D "allwinner,sun60i-a733-rtc", > + "allwinner,sun50i-r329-rtc"; > + reg =3D <0x07090000 0x400>; > + interrupts =3D ; > + clocks =3D <&r_ccu CLK_BUS_R_RTC>, <&hosc>, <&r_ccu CLK_R_AHB>; > + clock-names =3D "bus", "hosc", "ahb"; > + #clock-cells =3D <1>; > + }; > + }; > +}; >=20 >=20