Message ID | 20210824164314.70779-2-aford173@gmail.com |
---|---|
State | Superseded |
Delegated to: | Marek Vasut |
Headers | show |
Series | [1/2] ARM: rmobile: beacon-renesom: Enable USB and ethernet ref clocks | expand |
On 8/24/21 6:43 PM, Adam Ford wrote: > Now that the versaclock driver is available, point the ethernet > node at these clocks and configure the RGMII to enable Ethernet. > > Signed-off-by: Adam Ford <aford173@gmail.com> > > diff --git a/arch/arm/dts/beacon-renesom-som.dtsi b/arch/arm/dts/beacon-renesom-som.dtsi > index d30bab3c8b..9fe541b607 100644 > --- a/arch/arm/dts/beacon-renesom-som.dtsi > +++ b/arch/arm/dts/beacon-renesom-som.dtsi > @@ -60,8 +60,11 @@ > pinctrl-0 = <&avb_pins>; > pinctrl-names = "default"; > phy-handle = <&phy0>; > + phy-mode = "rgmii-txid"; > rx-internal-delay-ps = <1800>; > tx-internal-delay-ps = <2000>; > + clocks = <&cpg CPG_MOD 812>, <&versaclock5 4>; > + clock-names = "fck", "refclk"; The subject should be ARM: dts: rmobile, I can fix that, but see 1/2 comment in a bit.
diff --git a/arch/arm/dts/beacon-renesom-som.dtsi b/arch/arm/dts/beacon-renesom-som.dtsi index d30bab3c8b..9fe541b607 100644 --- a/arch/arm/dts/beacon-renesom-som.dtsi +++ b/arch/arm/dts/beacon-renesom-som.dtsi @@ -60,8 +60,11 @@ pinctrl-0 = <&avb_pins>; pinctrl-names = "default"; phy-handle = <&phy0>; + phy-mode = "rgmii-txid"; rx-internal-delay-ps = <1800>; tx-internal-delay-ps = <2000>; + clocks = <&cpg CPG_MOD 812>, <&versaclock5 4>; + clock-names = "fck", "refclk"; status = "okay"; phy0: ethernet-phy@0 {
Now that the versaclock driver is available, point the ethernet node at these clocks and configure the RGMII to enable Ethernet. Signed-off-by: Adam Ford <aford173@gmail.com>