mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-04 18:41:03 +00:00
95c3b0635e
Sync the devicetree files from the official Linux kernel tree, v6.6-rc6. This is covering Allwinner SoCs with 64-bit ARM cores. Only small cosmetic changes (clock name fixed), but we add the DT for the new OrangePi Zero 3 board, for which U-Boot enablement patches are pending. As before, this omits the non-backwards compatible changes to the R_INTC controller, to remain compatible with older kernels. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
94 lines
1.9 KiB
Text
94 lines
1.9 KiB
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (C) 2023 Arm Ltd.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "sun50i-h616-orangepi-zero.dtsi"
|
|
|
|
/ {
|
|
model = "OrangePi Zero3";
|
|
compatible = "xunlong,orangepi-zero3", "allwinner,sun50i-h618";
|
|
};
|
|
|
|
&emac0 {
|
|
phy-supply = <®_dldo1>;
|
|
};
|
|
|
|
&ext_rgmii_phy {
|
|
motorcomm,clk-out-frequency-hz = <125000000>;
|
|
};
|
|
|
|
&mmc0 {
|
|
/*
|
|
* The schematic shows the card detect pin wired up to PF6, via an
|
|
* inverter, but it just doesn't work.
|
|
*/
|
|
broken-cd;
|
|
vmmc-supply = <®_dldo1>;
|
|
};
|
|
|
|
&r_i2c {
|
|
status = "okay";
|
|
|
|
axp313: pmic@36 {
|
|
compatible = "x-powers,axp313a";
|
|
reg = <0x36>;
|
|
#interrupt-cells = <1>;
|
|
interrupt-controller;
|
|
interrupt-parent = <&pio>;
|
|
interrupts = <2 9 IRQ_TYPE_LEVEL_LOW>; /* PC9 */
|
|
|
|
vin1-supply = <®_vcc5v>;
|
|
vin2-supply = <®_vcc5v>;
|
|
vin3-supply = <®_vcc5v>;
|
|
|
|
regulators {
|
|
/* Supplies VCC-PLL, so needs to be always on. */
|
|
reg_aldo1: aldo1 {
|
|
regulator-always-on;
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-name = "vcc1v8";
|
|
};
|
|
|
|
/* Supplies VCC-IO, so needs to be always on. */
|
|
reg_dldo1: dldo1 {
|
|
regulator-always-on;
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-name = "vcc3v3";
|
|
};
|
|
|
|
reg_dcdc1: dcdc1 {
|
|
regulator-always-on;
|
|
regulator-min-microvolt = <810000>;
|
|
regulator-max-microvolt = <990000>;
|
|
regulator-name = "vdd-gpu-sys";
|
|
};
|
|
|
|
reg_dcdc2: dcdc2 {
|
|
regulator-always-on;
|
|
regulator-min-microvolt = <810000>;
|
|
regulator-max-microvolt = <1100000>;
|
|
regulator-name = "vdd-cpu";
|
|
};
|
|
|
|
reg_dcdc3: dcdc3 {
|
|
regulator-always-on;
|
|
regulator-min-microvolt = <1100000>;
|
|
regulator-max-microvolt = <1100000>;
|
|
regulator-name = "vdd-dram";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&pio {
|
|
vcc-pc-supply = <®_dldo1>;
|
|
vcc-pf-supply = <®_dldo1>;
|
|
vcc-pg-supply = <®_aldo1>;
|
|
vcc-ph-supply = <®_dldo1>;
|
|
vcc-pi-supply = <®_dldo1>;
|
|
};
|