Skip to content

Commit 9be66f5

Browse files
committed
Merge tag 'renesas-fixes-for-v4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into fixes
Renesas ARM Based SoC Fixes for v4.20 * R-Car V3H (r8a77980) based Condor board - Switch from EtherAVB to GEther to match offical boards * RZ/G2E (ra8774c0) SoC: correct documentation of part number * R-Car H3 (r8a7795) SoC: reinstate all DMA channels on HSCIF2 * tag 'renesas-fixes-for-v4.20' of https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: arm64: dts: renesas: condor: switch from EtherAVB to GEther dt-bindings: arm: Fix RZ/G2E part number arm64: dts: renesas: r8a7795: add missing dma-names on hscif2 Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents 6ff6bc4 + eab53fd commit 9be66f5

File tree

3 files changed

+26
-25
lines changed

3 files changed

+26
-25
lines changed

Documentation/devicetree/bindings/arm/shmobile.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ SoCs:
2727
compatible = "renesas,r8a77470"
2828
- RZ/G2M (R8A774A1)
2929
compatible = "renesas,r8a774a1"
30-
- RZ/G2E (RA8774C0)
30+
- RZ/G2E (R8A774C0)
3131
compatible = "renesas,r8a774c0"
3232
- R-Car M1A (R8A77781)
3333
compatible = "renesas,r8a7778"

arch/arm64/boot/dts/renesas/r8a7795.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@
652652
clock-names = "fck", "brg_int", "scif_clk";
653653
dmas = <&dmac1 0x35>, <&dmac1 0x34>,
654654
<&dmac2 0x35>, <&dmac2 0x34>;
655-
dma-names = "tx", "rx";
655+
dma-names = "tx", "rx", "tx", "rx";
656656
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
657657
resets = <&cpg 518>;
658658
status = "disabled";

arch/arm64/boot/dts/renesas/r8a77980-condor.dts

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
aliases {
1717
serial0 = &scif0;
18-
ethernet0 = &avb;
18+
ethernet0 = &gether;
1919
};
2020

2121
chosen {
@@ -97,23 +97,6 @@
9797
};
9898
};
9999

100-
&avb {
101-
pinctrl-0 = <&avb_pins>;
102-
pinctrl-names = "default";
103-
104-
phy-mode = "rgmii-id";
105-
phy-handle = <&phy0>;
106-
renesas,no-ether-link;
107-
status = "okay";
108-
109-
phy0: ethernet-phy@0 {
110-
rxc-skew-ps = <1500>;
111-
reg = <0>;
112-
interrupt-parent = <&gpio1>;
113-
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
114-
};
115-
};
116-
117100
&canfd {
118101
pinctrl-0 = <&canfd0_pins>;
119102
pinctrl-names = "default";
@@ -139,6 +122,23 @@
139122
clock-frequency = <32768>;
140123
};
141124

125+
&gether {
126+
pinctrl-0 = <&gether_pins>;
127+
pinctrl-names = "default";
128+
129+
phy-mode = "rgmii-id";
130+
phy-handle = <&phy0>;
131+
renesas,no-ether-link;
132+
status = "okay";
133+
134+
phy0: ethernet-phy@0 {
135+
rxc-skew-ps = <1500>;
136+
reg = <0>;
137+
interrupt-parent = <&gpio4>;
138+
interrupts = <23 IRQ_TYPE_LEVEL_LOW>;
139+
};
140+
};
141+
142142
&i2c0 {
143143
pinctrl-0 = <&i2c0_pins>;
144144
pinctrl-names = "default";
@@ -236,16 +236,17 @@
236236
};
237237

238238
&pfc {
239-
avb_pins: avb {
240-
groups = "avb_mdio", "avb_rgmii";
241-
function = "avb";
242-
};
243-
244239
canfd0_pins: canfd0 {
245240
groups = "canfd0_data_a";
246241
function = "canfd0";
247242
};
248243

244+
gether_pins: gether {
245+
groups = "gether_mdio_a", "gether_rgmii",
246+
"gether_txcrefclk", "gether_txcrefclk_mega";
247+
function = "gether";
248+
};
249+
249250
i2c0_pins: i2c0 {
250251
groups = "i2c0";
251252
function = "i2c0";

0 commit comments

Comments
 (0)