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