Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'amlogic-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/fixes

Amlogic fixes for v5.10-rc1
- misc DT only fixes

* tag 'amlogic-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
arm64: dts: meson: odroid-n2 plus: fix vddcpu_a pwm
ARM: dts: meson8: remove two invalid interrupt lines from the GPU node
arm64: dts: amlogic: add missing ethernet reset ID
arm64: dts: amlogic: meson-g12: use the G12A specific dwmac compatible
arm64: dts: meson: add missing g12 rng clock
arm64: dts: meson-axg-s400: enable USB OTG
arm64: dts: meson-axg: add USB nodes

Link: https://lore.kernel.org/r/7hlffshfu3.fsf@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+67 -2
+6
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
··· 584 584 pinctrl-0 = <&uart_ao_a_pins>; 585 585 pinctrl-names = "default"; 586 586 }; 587 + 588 + &usb { 589 + status = "okay"; 590 + dr_mode = "otg"; 591 + vbus-supply = <&usb_pwr>; 592 + };
+52
arch/arm64/boot/dts/amlogic/meson-axg.dtsi
··· 171 171 #size-cells = <2>; 172 172 ranges; 173 173 174 + usb: usb@ffe09080 { 175 + compatible = "amlogic,meson-axg-usb-ctrl"; 176 + reg = <0x0 0xffe09080 0x0 0x20>; 177 + interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 178 + #address-cells = <2>; 179 + #size-cells = <2>; 180 + ranges; 181 + 182 + clocks = <&clkc CLKID_USB>, <&clkc CLKID_USB1_DDR_BRIDGE>; 183 + clock-names = "usb_ctrl", "ddr"; 184 + resets = <&reset RESET_USB_OTG>; 185 + 186 + dr_mode = "otg"; 187 + 188 + phys = <&usb2_phy1>; 189 + phy-names = "usb2-phy1"; 190 + 191 + dwc2: usb@ff400000 { 192 + compatible = "amlogic,meson-g12a-usb", "snps,dwc2"; 193 + reg = <0x0 0xff400000 0x0 0x40000>; 194 + interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 195 + clocks = <&clkc CLKID_USB1>; 196 + clock-names = "otg"; 197 + phys = <&usb2_phy1>; 198 + dr_mode = "peripheral"; 199 + g-rx-fifo-size = <192>; 200 + g-np-tx-fifo-size = <128>; 201 + g-tx-fifo-size = <128 128 16 16 16>; 202 + }; 203 + 204 + dwc3: usb@ff500000 { 205 + compatible = "snps,dwc3"; 206 + reg = <0x0 0xff500000 0x0 0x100000>; 207 + interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; 208 + dr_mode = "host"; 209 + maximum-speed = "high-speed"; 210 + snps,dis_u2_susphy_quirk; 211 + }; 212 + }; 213 + 174 214 ethmac: ethernet@ff3f0000 { 175 215 compatible = "amlogic,meson-axg-dwmac", 176 216 "snps,dwmac-3.70a", ··· 227 187 "timing-adjustment"; 228 188 rx-fifo-depth = <4096>; 229 189 tx-fifo-depth = <2048>; 190 + resets = <&reset RESET_ETHERNET>; 191 + reset-names = "stmmaceth"; 230 192 status = "disabled"; 231 193 }; 232 194 ··· 1775 1733 <&clkc CLKID_FCLK_DIV2>; 1776 1734 clock-names = "core", "clkin0", "clkin1"; 1777 1735 resets = <&reset RESET_SD_EMMC_C>; 1736 + }; 1737 + 1738 + usb2_phy1: phy@9020 { 1739 + compatible = "amlogic,meson-gxl-usb2-phy"; 1740 + #phy-cells = <0>; 1741 + reg = <0x0 0x9020 0x0 0x20>; 1742 + clocks = <&clkc CLKID_USB>; 1743 + clock-names = "phy"; 1744 + resets = <&reset RESET_USB_OTG>; 1745 + reset-names = "phy"; 1778 1746 }; 1779 1747 }; 1780 1748
+5 -1
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi
··· 209 209 }; 210 210 211 211 ethmac: ethernet@ff3f0000 { 212 - compatible = "amlogic,meson-axg-dwmac", 212 + compatible = "amlogic,meson-g12a-dwmac", 213 213 "snps,dwmac-3.70a", 214 214 "snps,dwmac"; 215 215 reg = <0x0 0xff3f0000 0x0 0x10000>, ··· 224 224 "timing-adjustment"; 225 225 rx-fifo-depth = <4096>; 226 226 tx-fifo-depth = <2048>; 227 + resets = <&reset RESET_ETHERNET>; 228 + reset-names = "stmmaceth"; 227 229 status = "disabled"; 228 230 229 231 mdio0: mdio { ··· 284 282 hwrng: rng@218 { 285 283 compatible = "amlogic,meson-rng"; 286 284 reg = <0x0 0x218 0x0 0x4>; 285 + clocks = <&clkc CLKID_RNG0>; 286 + clock-names = "core"; 287 287 }; 288 288 }; 289 289
+1 -1
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2-plus.dts
··· 19 19 regulator-min-microvolt = <680000>; 20 20 regulator-max-microvolt = <1040000>; 21 21 22 - pwms = <&pwm_AO_cd 1 1500 0>; 22 + pwms = <&pwm_ab 0 1500 0>; 23 23 }; 24 24 25 25 &vddcpu_b {
+3
arch/arm64/boot/dts/amlogic/meson-gx.dtsi
··· 13 13 #include <dt-bindings/interrupt-controller/irq.h> 14 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 15 #include <dt-bindings/power/meson-gxbb-power.h> 16 + #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 16 17 #include <dt-bindings/thermal/thermal.h> 17 18 18 19 / { ··· 576 575 interrupt-names = "macirq"; 577 576 rx-fifo-depth = <4096>; 578 577 tx-fifo-depth = <2048>; 578 + resets = <&reset RESET_ETHERNET>; 579 + reset-names = "stmmaceth"; 579 580 power-domains = <&pwrc PWRC_GXBB_ETHERNET_MEM_ID>; 580 581 status = "disabled"; 581 582 };