Skip to content

Commit 0627354

Browse files
committed
Merge tag 'amlogic-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/dt
ARM: dts: Amlogic updates for v5.8 - eth PHY and USB PHY updates * tag 'amlogic-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM: dts: meson: Switch existing boards with RGMII PHY to "rgmii-id" ARM: dts: meson: Add the Ethernet "timing-adjustment" clock ARM: dts: meson8m2: Use the Meson8m2 specific USB2 PHY compatible ARM: dts: meson: add the gadget mode properties to the USB0 controller Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 9eddc06 + 0052311 commit 0627354

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

arch/arm/boot/dts/meson.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@
229229
interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
230230
phys = <&usb0_phy>;
231231
phy-names = "usb2-phy";
232+
g-rx-fifo-size = <512>;
233+
g-np-tx-fifo-size = <500>;
234+
g-tx-fifo-size = <256 192 128 128 128>;
232235
dr_mode = "host";
233236
status = "disabled";
234237
};

arch/arm/boot/dts/meson8b-odroidc1.dts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,8 @@
202202
pinctrl-0 = <&eth_rgmii_pins>;
203203
pinctrl-names = "default";
204204

205-
phy-mode = "rgmii";
206205
phy-handle = <&eth_phy>;
207-
amlogic,tx-delay-ns = <4>;
206+
phy-mode = "rgmii-id";
208207

209208
nvmem-cells = <&ethernet_mac_address>;
210209
nvmem-cell-names = "mac-address";

arch/arm/boot/dts/meson8b.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,9 @@
425425

426426
clocks = <&clkc CLKID_ETH>,
427427
<&clkc CLKID_MPLL2>,
428-
<&clkc CLKID_MPLL2>;
429-
clock-names = "stmmaceth", "clkin0", "clkin1";
428+
<&clkc CLKID_MPLL2>,
429+
<&clkc CLKID_FCLK_DIV2>;
430+
clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment";
430431
rx-fifo-depth = <4096>;
431432
tx-fifo-depth = <2048>;
432433

arch/arm/boot/dts/meson8m2-mxiii-plus.dts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@
6969
pinctrl-names = "default";
7070

7171
phy-handle = <&eth_phy0>;
72-
phy-mode = "rgmii";
73-
74-
amlogic,tx-delay-ns = <4>;
72+
phy-mode = "rgmii-id";
7573

7674
mdio {
7775
compatible = "snps,dwmac-mdio";

arch/arm/boot/dts/meson8m2.dtsi

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
0xc1108140 0x8>;
3131
clocks = <&clkc CLKID_ETH>,
3232
<&clkc CLKID_MPLL2>,
33-
<&clkc CLKID_MPLL2>;
34-
clock-names = "stmmaceth", "clkin0", "clkin1";
33+
<&clkc CLKID_MPLL2>,
34+
<&clkc CLKID_FCLK_DIV2>;
35+
clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment";
3536
resets = <&reset RESET_ETHERNET>;
3637
reset-names = "stmmaceth";
3738
};
@@ -64,6 +65,14 @@
6465
compatible = "amlogic,meson8m2-saradc", "amlogic,meson-saradc";
6566
};
6667

68+
&usb0_phy {
69+
compatible = "amlogic,meson8m2-usb2-phy", "amlogic,meson-mx-usb2-phy";
70+
};
71+
72+
&usb1_phy {
73+
compatible = "amlogic,meson8m2-usb2-phy", "amlogic,meson-mx-usb2-phy";
74+
};
75+
6776
&wdt {
6877
compatible = "amlogic,meson8m2-wdt", "amlogic,meson8b-wdt";
6978
};

0 commit comments

Comments
 (0)