mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
63 lines
1 KiB
Text
63 lines
1 KiB
Text
|
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||
|
// Copyright (C) 2023 In-Circuit GmbH
|
||
|
|
||
|
#include "sun7i-a20.dtsi"
|
||
|
#include "sunxi-common-regulators.dtsi"
|
||
|
|
||
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||
|
|
||
|
&cpu0 {
|
||
|
cpu-supply = <®_dcdc2>;
|
||
|
};
|
||
|
|
||
|
&gmac {
|
||
|
pinctrl-names = "default";
|
||
|
pinctrl-0 = <&gmac_mii_pins>;
|
||
|
phy-handle = <&phy1>;
|
||
|
phy-mode = "mii";
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
&i2c0 {
|
||
|
status = "okay";
|
||
|
|
||
|
axp209: pmic@34 {
|
||
|
reg = <0x34>;
|
||
|
interrupt-parent = <&nmi_intc>;
|
||
|
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&gmac_mdio {
|
||
|
phy1: ethernet-phy@1 {
|
||
|
reg = <1>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
#include "axp209.dtsi"
|
||
|
|
||
|
®_dcdc2 {
|
||
|
regulator-always-on;
|
||
|
regulator-min-microvolt = <1000000>;
|
||
|
regulator-max-microvolt = <1400000>;
|
||
|
regulator-name = "vdd-cpu";
|
||
|
};
|
||
|
|
||
|
®_dcdc3 {
|
||
|
regulator-always-on;
|
||
|
regulator-min-microvolt = <1000000>;
|
||
|
regulator-max-microvolt = <1400000>;
|
||
|
regulator-name = "vdd-int-dll";
|
||
|
};
|
||
|
|
||
|
®_ldo1 {
|
||
|
regulator-name = "vdd-rtc";
|
||
|
};
|
||
|
|
||
|
®_ldo2 {
|
||
|
regulator-always-on;
|
||
|
regulator-min-microvolt = <3000000>;
|
||
|
regulator-max-microvolt = <3000000>;
|
||
|
regulator-name = "avcc";
|
||
|
};
|