[U-Boot] [PATCH v1 5/6] ARM: dts: imx7: imx7_colibri: introduce fec node
> From: Igor Opaniuk > Sync DTS with the mainline Linux and introduce fec node and > regulator configuration for rn5t567 PMU. > Signed-off-by: Igor Opaniuk > Reviewed-by: Oleksandr Suvorov Applied to u-boot-imx, -next, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sba...@denx.de =
Re: [U-Boot] [PATCH v1 5/6] ARM: dts: imx7: imx7_colibri: introduce fec node
On Mon, Nov 4, 2019 at 12:14 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Sync DTS with the mainline Linux and introduce fec node and > regulator configuration for rn5t567 PMU. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > arch/arm/dts/imx7-colibri.dtsi | 116 + > arch/arm/dts/imx7d.dtsi| 3 + > arch/arm/dts/imx7s.dtsi| 1 + > 3 files changed, 120 insertions(+) > > diff --git a/arch/arm/dts/imx7-colibri.dtsi b/arch/arm/dts/imx7-colibri.dtsi > index 308e0b2a63..ec95f22a0c 100644 > --- a/arch/arm/dts/imx7-colibri.dtsi > +++ b/arch/arm/dts/imx7-colibri.dtsi > @@ -18,6 +18,70 @@ > rn5t567@33 { > compatible = "ricoh,rn5t567"; > reg = <0x33>; > + > + regulators { > + reg_DCDC1: DCDC1 { /* V1.0_SOC */ > + regulator-min-microvolt = <100>; > + regulator-max-microvolt = <110>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + reg_DCDC2: DCDC2 { /* V1.1_ARM */ > + regulator-min-microvolt = <975000>; > + regulator-max-microvolt = <110>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + reg_DCDC3: DCDC3 { /* V1.8 */ > + regulator-min-microvolt = <180>; > + regulator-max-microvolt = <180>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + reg_DCDC4: DCDC4 { /* V1.35_DRAM */ > + regulator-min-microvolt = <135>; > + regulator-max-microvolt = <135>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + reg_LDO1: LDO1 { /* PWR_EN_+V3.3_ETH */ > + regulator-min-microvolt = <180>; > + regulator-max-microvolt = <330>; > + regulator-boot-on; > + }; > + > + reg_LDO2: LDO2 { /* +V1.8_SD */ > + regulator-min-microvolt = <180>; > + regulator-max-microvolt = <330>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + reg_LDO3: LDO3 { /* PWR_EN_+V3.3_LPSR */ > + regulator-min-microvolt = <330>; > + regulator-max-microvolt = <330>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + reg_LDO4: LDO4 { /* V1.8_LPSR */ > + regulator-min-microvolt = <180>; > + regulator-max-microvolt = <180>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + reg_LDO5: LDO5 { /* PWR_EN_+V3.3 */ > + regulator-min-microvolt = <330>; > + regulator-max-microvolt = <330>; > + regulator-boot-on; > + regulator-always-on; > + }; > + }; > }; > }; > > @@ -30,6 +94,25 @@ > status = "okay"; > }; > > + { > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <_enet1>; > + pinctrl-1 = <_enet1_sleep>; > + clocks = < IMX7D_ENET_AXI_ROOT_CLK>, > + < IMX7D_ENET_AXI_ROOT_CLK>, > + < IMX7D_ENET1_TIME_ROOT_CLK>, > + < IMX7D_PLL_ENET_MAIN_50M_CLK>; > + clock-names = "ipg", "ahb", "ptp", "enet_clk_ref"; > + assigned-clocks = < IMX7D_ENET1_TIME_ROOT_SRC>, > + < IMX7D_ENET1_TIME_ROOT_CLK>; > + assigned-clock-parents = < IMX7D_PLL_ENET_MAIN_100M_CLK>; > + assigned-clock-rates = <0>, <1>; > + phy-mode = "rmii"; > + phy-supply = <_LDO1>; > + fsl,magic-packet; > + status = "okay"; > +}; > + > { > pinctrl-names = "default"; > pinctrl-0 = <_uart1 _uart1_ctrl1>; > @@ -88,6 +171,39 @@ > MX7D_PAD_SD1_DATA3__SD1_DATA3 0x59 > >; > }; > + > + pinctrl_enet1: enet1grp { > + fsl,pins = < > +
[U-Boot] [PATCH v1 5/6] ARM: dts: imx7: imx7_colibri: introduce fec node
From: Igor Opaniuk Sync DTS with the mainline Linux and introduce fec node and regulator configuration for rn5t567 PMU. Signed-off-by: Igor Opaniuk --- arch/arm/dts/imx7-colibri.dtsi | 116 + arch/arm/dts/imx7d.dtsi| 3 + arch/arm/dts/imx7s.dtsi| 1 + 3 files changed, 120 insertions(+) diff --git a/arch/arm/dts/imx7-colibri.dtsi b/arch/arm/dts/imx7-colibri.dtsi index 308e0b2a63..ec95f22a0c 100644 --- a/arch/arm/dts/imx7-colibri.dtsi +++ b/arch/arm/dts/imx7-colibri.dtsi @@ -18,6 +18,70 @@ rn5t567@33 { compatible = "ricoh,rn5t567"; reg = <0x33>; + + regulators { + reg_DCDC1: DCDC1 { /* V1.0_SOC */ + regulator-min-microvolt = <100>; + regulator-max-microvolt = <110>; + regulator-boot-on; + regulator-always-on; + }; + + reg_DCDC2: DCDC2 { /* V1.1_ARM */ + regulator-min-microvolt = <975000>; + regulator-max-microvolt = <110>; + regulator-boot-on; + regulator-always-on; + }; + + reg_DCDC3: DCDC3 { /* V1.8 */ + regulator-min-microvolt = <180>; + regulator-max-microvolt = <180>; + regulator-boot-on; + regulator-always-on; + }; + + reg_DCDC4: DCDC4 { /* V1.35_DRAM */ + regulator-min-microvolt = <135>; + regulator-max-microvolt = <135>; + regulator-boot-on; + regulator-always-on; + }; + + reg_LDO1: LDO1 { /* PWR_EN_+V3.3_ETH */ + regulator-min-microvolt = <180>; + regulator-max-microvolt = <330>; + regulator-boot-on; + }; + + reg_LDO2: LDO2 { /* +V1.8_SD */ + regulator-min-microvolt = <180>; + regulator-max-microvolt = <330>; + regulator-boot-on; + regulator-always-on; + }; + + reg_LDO3: LDO3 { /* PWR_EN_+V3.3_LPSR */ + regulator-min-microvolt = <330>; + regulator-max-microvolt = <330>; + regulator-boot-on; + regulator-always-on; + }; + + reg_LDO4: LDO4 { /* V1.8_LPSR */ + regulator-min-microvolt = <180>; + regulator-max-microvolt = <180>; + regulator-boot-on; + regulator-always-on; + }; + + reg_LDO5: LDO5 { /* PWR_EN_+V3.3 */ + regulator-min-microvolt = <330>; + regulator-max-microvolt = <330>; + regulator-boot-on; + regulator-always-on; + }; + }; }; }; @@ -30,6 +94,25 @@ status = "okay"; }; + { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <_enet1>; + pinctrl-1 = <_enet1_sleep>; + clocks = < IMX7D_ENET_AXI_ROOT_CLK>, + < IMX7D_ENET_AXI_ROOT_CLK>, + < IMX7D_ENET1_TIME_ROOT_CLK>, + < IMX7D_PLL_ENET_MAIN_50M_CLK>; + clock-names = "ipg", "ahb", "ptp", "enet_clk_ref"; + assigned-clocks = < IMX7D_ENET1_TIME_ROOT_SRC>, + < IMX7D_ENET1_TIME_ROOT_CLK>; + assigned-clock-parents = < IMX7D_PLL_ENET_MAIN_100M_CLK>; + assigned-clock-rates = <0>, <1>; + phy-mode = "rmii"; + phy-supply = <_LDO1>; + fsl,magic-packet; + status = "okay"; +}; + { pinctrl-names = "default"; pinctrl-0 = <_uart1 _uart1_ctrl1>; @@ -88,6 +171,39 @@ MX7D_PAD_SD1_DATA3__SD1_DATA3 0x59 >; }; + + pinctrl_enet1: enet1grp { + fsl,pins = < + MX7D_PAD_ENET1_CRS__GPIO7_IO14 0x14 + MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x73 + MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0 0x73 + MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1 0x73 +