1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*724ba675SRob Herring// Copyright (C) 2023 In-Circuit GmbH 3*724ba675SRob Herring 4*724ba675SRob Herring#include "sun7i-a20.dtsi" 5*724ba675SRob Herring#include "sunxi-common-regulators.dtsi" 6*724ba675SRob Herring 7*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 8*724ba675SRob Herring 9*724ba675SRob Herring&cpu0 { 10*724ba675SRob Herring cpu-supply = <®_dcdc2>; 11*724ba675SRob Herring}; 12*724ba675SRob Herring 13*724ba675SRob Herring&gmac { 14*724ba675SRob Herring pinctrl-names = "default"; 15*724ba675SRob Herring pinctrl-0 = <&gmac_mii_pins>; 16*724ba675SRob Herring phy-handle = <&phy1>; 17*724ba675SRob Herring phy-mode = "mii"; 18*724ba675SRob Herring status = "okay"; 19*724ba675SRob Herring}; 20*724ba675SRob Herring 21*724ba675SRob Herring&i2c0 { 22*724ba675SRob Herring status = "okay"; 23*724ba675SRob Herring 24*724ba675SRob Herring axp209: pmic@34 { 25*724ba675SRob Herring reg = <0x34>; 26*724ba675SRob Herring interrupt-parent = <&nmi_intc>; 27*724ba675SRob Herring interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 28*724ba675SRob Herring }; 29*724ba675SRob Herring}; 30*724ba675SRob Herring 31*724ba675SRob Herring&gmac_mdio { 32*724ba675SRob Herring phy1: ethernet-phy@1 { 33*724ba675SRob Herring reg = <1>; 34*724ba675SRob Herring }; 35*724ba675SRob Herring}; 36*724ba675SRob Herring 37*724ba675SRob Herring#include "axp209.dtsi" 38*724ba675SRob Herring 39*724ba675SRob Herring®_dcdc2 { 40*724ba675SRob Herring regulator-always-on; 41*724ba675SRob Herring regulator-min-microvolt = <1000000>; 42*724ba675SRob Herring regulator-max-microvolt = <1400000>; 43*724ba675SRob Herring regulator-name = "vdd-cpu"; 44*724ba675SRob Herring}; 45*724ba675SRob Herring 46*724ba675SRob Herring®_dcdc3 { 47*724ba675SRob Herring regulator-always-on; 48*724ba675SRob Herring regulator-min-microvolt = <1000000>; 49*724ba675SRob Herring regulator-max-microvolt = <1400000>; 50*724ba675SRob Herring regulator-name = "vdd-int-dll"; 51*724ba675SRob Herring}; 52*724ba675SRob Herring 53*724ba675SRob Herring®_ldo1 { 54*724ba675SRob Herring regulator-name = "vdd-rtc"; 55*724ba675SRob Herring}; 56*724ba675SRob Herring 57*724ba675SRob Herring®_ldo2 { 58*724ba675SRob Herring regulator-always-on; 59*724ba675SRob Herring regulator-min-microvolt = <3000000>; 60*724ba675SRob Herring regulator-max-microvolt = <3000000>; 61*724ba675SRob Herring regulator-name = "avcc"; 62*724ba675SRob Herring}; 63