Skip to content

Commit d2d369a

Browse files
committed
Amlogic fixes for v4.18-rc - minor 64-bit DT fixes * tag 'amlogic-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM64: dts: meson-gxl: fix Mali GPU compatible string ARM64: dts: meson-axg: fix ethernet stability issue ARM64: dts: meson-gx: fix ATF reserved memory region ARM64: dts: meson-gxl-s905x-p212: Add phy-supply for usb0 ARM64: dts: meson: fix register ranges for SD/eMMC ARM64: dts: meson: disable sd-uhs modes on the libretech-cc Signed-off-by: Olof Johansson <olof@lixom.net>
2 parents 86676c4 + 1c38f4a commit d2d369a

File tree

7 files changed

+33
-18
lines changed

7 files changed

+33
-18
lines changed

arch/arm64/boot/dts/amlogic/meson-axg-s400.dts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,22 @@
6666

6767
&ethmac {
6868
status = "okay";
69-
phy-mode = "rgmii";
7069
pinctrl-0 = <&eth_rgmii_y_pins>;
7170
pinctrl-names = "default";
71+
phy-handle = <&eth_phy0>;
72+
phy-mode = "rgmii";
73+
74+
mdio {
75+
compatible = "snps,dwmac-mdio";
76+
#address-cells = <1>;
77+
#size-cells = <0>;
78+
79+
eth_phy0: ethernet-phy@0 {
80+
/* Realtek RTL8211F (0x001cc916) */
81+
reg = <0>;
82+
eee-broken-1000t;
83+
};
84+
};
7285
};
7386

7487
&uart_A {

arch/arm64/boot/dts/amlogic/meson-axg.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132

133133
sd_emmc_b: sd@5000 {
134134
compatible = "amlogic,meson-axg-mmc";
135-
reg = <0x0 0x5000 0x0 0x2000>;
135+
reg = <0x0 0x5000 0x0 0x800>;
136136
interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
137137
status = "disabled";
138138
clocks = <&clkc CLKID_SD_EMMC_B>,
@@ -144,7 +144,7 @@
144144

145145
sd_emmc_c: mmc@7000 {
146146
compatible = "amlogic,meson-axg-mmc";
147-
reg = <0x0 0x7000 0x0 0x2000>;
147+
reg = <0x0 0x7000 0x0 0x800>;
148148
interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
149149
status = "disabled";
150150
clocks = <&clkc CLKID_SD_EMMC_C>,

arch/arm64/boot/dts/amlogic/meson-gx.dtsi

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
no-map;
3636
};
3737

38+
/* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
39+
secmon_reserved_alt: secmon@5000000 {
40+
reg = <0x0 0x05000000 0x0 0x300000>;
41+
no-map;
42+
};
43+
3844
linux,cma {
3945
compatible = "shared-dma-pool";
4046
reusable;
@@ -457,21 +463,21 @@
457463

458464
sd_emmc_a: mmc@70000 {
459465
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
460-
reg = <0x0 0x70000 0x0 0x2000>;
466+
reg = <0x0 0x70000 0x0 0x800>;
461467
interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>;
462468
status = "disabled";
463469
};
464470

465471
sd_emmc_b: mmc@72000 {
466472
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
467-
reg = <0x0 0x72000 0x0 0x2000>;
473+
reg = <0x0 0x72000 0x0 0x800>;
468474
interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
469475
status = "disabled";
470476
};
471477

472478
sd_emmc_c: mmc@74000 {
473479
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
474-
reg = <0x0 0x74000 0x0 0x2000>;
480+
reg = <0x0 0x74000 0x0 0x800>;
475481
interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
476482
status = "disabled";
477483
};

arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
&apb {
88
mali: gpu@c0000 {
9-
compatible = "amlogic,meson-gxbb-mali", "arm,mali-450";
9+
compatible = "amlogic,meson-gxl-mali", "arm,mali-450";
1010
reg = <0x0 0xc0000 0x0 0x40000>;
1111
interrupts = <GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH>,
1212
<GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>,

arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,6 @@
234234

235235
bus-width = <4>;
236236
cap-sd-highspeed;
237-
sd-uhs-sdr12;
238-
sd-uhs-sdr25;
239-
sd-uhs-sdr50;
240237
max-frequency = <100000000>;
241238
disable-wp;
242239

arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,10 @@
189189
&usb0 {
190190
status = "okay";
191191
};
192+
193+
&usb2_phy0 {
194+
/*
195+
* HDMI_5V is also used as supply for the USB VBUS.
196+
*/
197+
phy-supply = <&hdmi_5v>;
198+
};

arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@
1313
/ {
1414
compatible = "amlogic,meson-gxl";
1515

16-
reserved-memory {
17-
/* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
18-
secmon_reserved_alt: secmon@5000000 {
19-
reg = <0x0 0x05000000 0x0 0x300000>;
20-
no-map;
21-
};
22-
};
23-
2416
soc {
2517
usb0: usb@c9000000 {
2618
status = "disabled";

0 commit comments

Comments
 (0)