ARM: meson: Sync Amlogic DT from Linux 5.12-rc2
Subsystems (5)
PATCH 1/8 ARM: meson: Sync Amlogic DT from Linux 5.12-rc2
Import Amlogic DT changes from Linux commit a38fd8748464 ("Linux 5.12-rc2"), dt-bindings clock changes and new meson-g12b-gsking-x.dts & odroid-hc4 boards.
--- arch/arm/dts/Makefile | 2 + arch/arm/dts/meson-axg-s400.dts | 16 + arch/arm/dts/meson-axg.dtsi | 181 +++++++ arch/arm/dts/meson-g12-common.dtsi | 12 +- arch/arm/dts/meson-g12a-sei510.dts | 2 +- arch/arm/dts/meson-g12b-gsking-x.dts | 133 ++++++ arch/arm/dts/meson-g12b-gtking-pro.dts | 19 +- arch/arm/dts/meson-g12b-gtking.dts | 20 +- arch/arm/dts/meson-g12b-odroid-n2-plus.dts | 2 +- arch/arm/dts/meson-g12b-odroid-n2.dtsi | 18 +- arch/arm/dts/meson-g12b-w400.dtsi | 2 +- arch/arm/dts/meson-g12b.dtsi | 4 + arch/arm/dts/meson-gx-libretech-pc.dtsi | 2 +- arch/arm/dts/meson-gx-p23x-q20x.dtsi | 2 +- arch/arm/dts/meson-gxbb-nanopi-k2.dts | 42 +- arch/arm/dts/meson-gxbb-odroidc2.dts | 42 +- arch/arm/dts/meson-gxl-s805x-libretech-ac.dts | 2 +- arch/arm/dts/meson-gxl-s905x-khadas-vim.dts | 50 +- .../dts/meson-gxl-s905x-libretech-cc-v2.dts | 6 +- arch/arm/dts/meson-gxl-s905x-libretech-cc.dts | 2 +- arch/arm/dts/meson-gxm-khadas-vim2.dts | 55 ++- arch/arm/dts/meson-gxm.dtsi | 20 + arch/arm/dts/meson-khadas-vim3.dtsi | 36 +- arch/arm/dts/meson-sm1-khadas-vim3l.dts | 7 +- arch/arm/dts/meson-sm1-odroid-c4.dts | 429 +---------------- arch/arm/dts/meson-sm1-odroid-hc4.dts | 96 ++++ arch/arm/dts/meson-sm1-odroid.dtsi | 442 ++++++++++++++++++ arch/arm/dts/meson-sm1-sei610.dts | 10 +- arch/arm/dts/meson-sm1.dtsi | 2 +- include/dt-bindings/clock/axg-clkc.h | 26 +- include/dt-bindings/clock/g12a-clkc.h | 2 + 31 files changed, 1195 insertions(+), 489 deletions(-) create mode 100644 arch/arm/dts/meson-g12b-gsking-x.dts create mode 100644 arch/arm/dts/meson-sm1-odroid-hc4.dts create mode 100644 arch/arm/dts/meson-sm1-odroid.dtsi
arch/arm/dts/Makefile +2 -0
@@ -173,11 +173,13 @@ dtb-$(CONFIG_ARCH_MESON) += \ meson-g12a-sei510.dtb \ meson-g12b-gtking.dtb \ meson-g12b-gtking-pro.dtb \ + meson-g12b-gsking-x.dtb \ meson-g12b-odroid-n2.dtb \ meson-g12b-odroid-n2-plus.dtb \ meson-g12b-a311d-khadas-vim3.dtb \ meson-sm1-khadas-vim3l.dtb \ meson-sm1-odroid-c4.dtb \ + meson-sm1-odroid-hc4.dtb \ meson-sm1-sei610.dtb dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \ tegra20-medcom-wide.dtb \
arch/arm/dts/meson-axg-s400.dts +16 -0
@@ -441,6 +441,16 @@ status = "okay"; }; +&pcieA { + reset-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_LOW>; + status = "okay"; +}; + +&pcieB { + reset-gpios = <&gpio GPIOZ_10 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; + status = "okay"; +}; + &pwm_ab { status = "okay"; pinctrl-0 = <&pwm_a_x20_pins>;
@@ -584,3 +594,9 @@ pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; }; + +&usb { + status = "okay"; + dr_mode = "otg"; + vbus-supply = <&usb_pwr>; +};
arch/arm/dts/meson-axg.dtsi +181 -0
226 lines not on this page · raw message
arch/arm/dts/meson-g12-common.dtsi +10 -2
@@ -209,7 +209,7 @@ }; ethmac: ethernet at ff3f0000 { - compatible = "amlogic,meson-axg-dwmac", + compatible = "amlogic,meson-g12a-dwmac", "snps,dwmac-3.70a", "snps,dwmac"; reg = <0x0 0xff3f0000 0x0 0x10000>,
@@ -282,6 +282,8 @@ hwrng: rng at 218 { compatible = "amlogic,meson-rng"; reg = <0x0 0x218 0x0 0x4>; + clocks = <&clkc CLKID_RNG0>; + clock-names = "core"; }; };
@@ -2179,6 +2181,12 @@ amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>; }; + watchdog: wdt at f0d0 { + compatible = "amlogic,meson-gxbb-wdt"; + reg = <0x0 0xf0d0 0x0 0x10>; + clocks = <&xtal>; + }; + spicc0: spi at 13000 { compatible = "amlogic,meson-g12a-spicc"; reg = <0x0 0x13000 0x0 0x44>;
@@ -2380,7 +2388,7 @@ interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; dr_mode = "host"; snps,dis_u2_susphy_quirk; - snps,quirk-frame-length-adjustment; + snps,quirk-frame-length-adjustment = <0x20>; snps,parkmode-disable-ss-quirk; }; };
arch/arm/dts/meson-g12a-sei510.dts +1 -1
@@ -181,7 +181,7 @@ sound { compatible = "amlogic,axg-sound-card"; - model = "G12A-SEI510"; + model = "SEI510"; audio-aux-devs = <&tdmout_a>, <&tdmout_b>, <&tdmin_a>, <&tdmin_b>; audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
arch/arm/dts/meson-g12b-gsking-x.dts new file +133 -0
133 lines not on this page · raw message
arch/arm/dts/meson-g12b-gtking-pro.dts +18 -1
@@ -14,6 +14,11 @@ compatible = "azw,gtking", "amlogic,g12b"; model = "Beelink GT-King Pro"; + aliases { + rtc0 = &rtc; + rtc1 = &vrtc; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>;
@@ -39,7 +44,7 @@ sound { compatible = "amlogic,axg-sound-card"; - model = "G12B-GTKING-PRO"; + model = "GTKING-PRO"; audio-aux-devs = <&tdmout_b>; audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", "TDMOUT_B IN 1", "FRDDR_B OUT 1",
@@ -112,6 +117,18 @@ status = "okay"; }; +&i2c3 { + status = "okay"; + pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; + pinctrl-names = "default"; + + rtc: rtc at 51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + wakeup-source; + }; +}; + &tdmif_b { status = "okay"; };
arch/arm/dts/meson-g12b-gtking.dts +19 -1
@@ -14,6 +14,11 @@ compatible = "azw,gtking", "amlogic,g12b"; model = "Beelink GT-King"; + aliases { + rtc0 = &rtc; + rtc1 = &vrtc; + }; + spdif_dit: audio-codec-1 { #sound-dai-cells = <0>; compatible = "linux,spdif-dit";
@@ -23,7 +28,7 @@ sound { compatible = "amlogic,axg-sound-card"; - model = "G12B-GTKING"; + model = "GTKING"; audio-aux-devs = <&tdmout_b>; audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1", "TDMOUT_B IN 1", "FRDDR_B OUT 1",
@@ -122,6 +127,19 @@ status = "okay"; }; + +&i2c3 { + status = "okay"; + pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; + pinctrl-names = "default"; + + rtc: rtc at 51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + wakeup-source; + }; +}; + &spdifout { pinctrl-0 = <&spdif_out_h_pins>; pinctrl-names = "default";
arch/arm/dts/meson-g12b-odroid-n2-plus.dts +1 -1
@@ -19,7 +19,7 @@ regulator-min-microvolt = <680000>; regulator-max-microvolt = <1040000>; - pwms = <&pwm_AO_cd 1 1500 0>; + pwms = <&pwm_ab 0 1500 0>; }; &vddcpu_b {
arch/arm/dts/meson-g12b-odroid-n2.dtsi +16 -2
@@ -13,6 +13,8 @@ aliases { serial0 = &uart_AO; ethernet0 = ðmac; + rtc0 = &rtc; + rtc1 = &vrtc; }; dioo2133: audio-amplifier-0 {
@@ -211,7 +213,7 @@ sound { compatible = "amlogic,axg-sound-card"; - model = "G12B-ODROID-N2"; + model = "ODROID-N2"; audio-widgets = "Line", "Lineout"; audio-aux-devs = <&tdmout_b>, <&tdmout_c>, <&tdmin_a>, <&tdmin_b>, <&tdmin_c>, <&tdmin_lb>,
@@ -413,7 +415,7 @@ max-speed = <1000>; reset-assert-us = <10000>; - reset-deassert-us = <30000>; + reset-deassert-us = <80000>; reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; interrupt-parent = <&gpio_intc>;
@@ -478,6 +480,18 @@ linux,rc-map-name = "rc-odroid"; }; +&i2c3 { + status = "okay"; + pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; + pinctrl-names = "default"; + + rtc: rtc at 51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + wakeup-source; + }; +}; + &pwm_ab { pinctrl-0 = <&pwm_a_e_pins>; pinctrl-names = "default";
arch/arm/dts/meson-g12b-w400.dtsi +1 -1
@@ -264,7 +264,7 @@ max-speed = <1000>; reset-assert-us = <10000>; - reset-deassert-us = <30000>; + reset-deassert-us = <80000>; reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; interrupt-parent = <&gpio_intc>;
arch/arm/dts/meson-g12b.dtsi +4 -0
@@ -135,3 +135,7 @@ }; }; }; + +&mali { + dma-coherent; +};
arch/arm/dts/meson-gx-libretech-pc.dtsi +1 -1
@@ -186,7 +186,7 @@ sound { compatible = "amlogic,gx-sound-card"; - model = "GXL-LIBRETECH-S9XX-PC"; + model = "LIBRETECH-PC"; audio-aux-devs = <&dio2133>; audio-widgets = "Speaker", "7J4-14 LEFT", "Speaker", "7J4-11 RIGHT";
arch/arm/dts/meson-gx-p23x-q20x.dtsi +1 -1
@@ -121,7 +121,7 @@ sound { compatible = "amlogic,gx-sound-card"; - model = "GX-P230-Q200"; + model = "P230-Q200"; audio-aux-devs = <&dio2133>; audio-widgets = "Line", "Lineout"; audio-routing = "AU2 INL", "ACODEC LOLP",
arch/arm/dts/meson-gxbb-nanopi-k2.dts +41 -1
60 lines not on this page · raw message
arch/arm/dts/meson-gxbb-odroidc2.dts +41 -1
60 lines not on this page · raw message
arch/arm/dts/meson-gxl-s805x-libretech-ac.dts +1 -1
@@ -118,7 +118,7 @@ sound { compatible = "amlogic,gx-sound-card"; - model = "GXL-LIBRETECH-S805X-AC"; + model = "LIBRETECH-AC"; audio-widgets = "Speaker", "9J5-3 LEFT", "Speaker", "9J5-2 RIGHT"; audio-routing = "9J5-3 LEFT", "ACODEC LOLN",
arch/arm/dts/meson-gxl-s905x-khadas-vim.dts +44 -6
77 lines not on this page · raw message
arch/arm/dts/meson-gxl-s905x-libretech-cc-v2.dts +1 -5
@@ -84,7 +84,6 @@ regulator-always-on; }; - vcck: regulator-vcck { compatible = "regulator-fixed"; regulator-name = "VCCK";
@@ -124,7 +123,6 @@ regulator-always-on; }; - vddio_card: regulator-vddio-card { compatible = "regulator-gpio"; regulator-name = "VDDIO_CARD";
@@ -161,7 +159,7 @@ sound { compatible = "amlogic,gx-sound-card"; - model = "GXL-LIBRETECH-S905X-CC-V2"; + model = "LIBRETECH-CC-V2"; assigned-clocks = <&clkc CLKID_MPLL0>, <&clkc CLKID_MPLL1>, <&clkc CLKID_MPLL2>;
@@ -195,7 +193,6 @@ }; }; - &aiu { status = "okay"; };
@@ -207,7 +204,6 @@ hdmi-phandle = <&hdmi_tx>; }; - ðmac { status = "okay"; };
arch/arm/dts/meson-gxl-s905x-libretech-cc.dts +1 -1
@@ -135,7 +135,7 @@ sound { compatible = "amlogic,gx-sound-card"; - model = "GXL-LIBRETECH-S905X-CC"; + model = "LIBRETECH-CC"; audio-aux-devs = <&dio2133>; audio-widgets = "Line", "Lineout"; audio-routing = "AU2 INL", "ACODEC LOLN",
arch/arm/dts/meson-gxm-khadas-vim2.dts +46 -9
100 lines not on this page · raw message
arch/arm/dts/meson-gxm.dtsi +20 -0
@@ -42,11 +42,28 @@ }; }; + cpu0: cpu at 0 { + capacity-dmips-mhz = <1024>; + }; + + cpu1: cpu at 1 { + capacity-dmips-mhz = <1024>; + }; + + cpu2: cpu at 2 { + capacity-dmips-mhz = <1024>; + }; + + cpu3: cpu at 3 { + capacity-dmips-mhz = <1024>; + }; + cpu4: cpu at 100 { device_type = "cpu"; compatible = "arm,cortex-a53"; reg = <0x0 0x100>; enable-method = "psci"; + capacity-dmips-mhz = <1024>; next-level-cache = <&l2>; clocks = <&scpi_dvfs 1>; #cooling-cells = <2>;
@@ -57,6 +74,7 @@ compatible = "arm,cortex-a53"; reg = <0x0 0x101>; enable-method = "psci"; + capacity-dmips-mhz = <1024>; next-level-cache = <&l2>; clocks = <&scpi_dvfs 1>; #cooling-cells = <2>;
@@ -67,6 +85,7 @@ compatible = "arm,cortex-a53"; reg = <0x0 0x102>; enable-method = "psci"; + capacity-dmips-mhz = <1024>; next-level-cache = <&l2>; clocks = <&scpi_dvfs 1>; #cooling-cells = <2>;
@@ -77,6 +96,7 @@ compatible = "arm,cortex-a53"; reg = <0x0 0x103>; enable-method = "psci"; + capacity-dmips-mhz = <1024>; next-level-cache = <&l2>; clocks = <&scpi_dvfs 1>; #cooling-cells = <2>;
arch/arm/dts/meson-khadas-vim3.dtsi +20 -16
@@ -6,6 +6,7 @@ */ #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> #include <dt-bindings/gpio/meson-g12a-gpio.h> #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
@@ -13,6 +14,8 @@ aliases { serial0 = &uart_AO; ethernet0 = ðmac; + rtc0 = &rtc; + rtc1 = &vrtc; }; chosen {
@@ -40,14 +43,16 @@ leds { compatible = "gpio-leds"; - led-white { - label = "vim3:white:sys"; + white { + color = <LED_COLOR_ID_WHITE>; + function = LED_FUNCTION_STATUS; gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; - led-red { - label = "vim3:red"; + red { + color = <LED_COLOR_ID_RED>; + function = LED_FUNCTION_STATUS; gpios = <&gpio_expander 5 GPIO_ACTIVE_HIGH>; }; };
@@ -165,7 +170,7 @@ sound { compatible = "amlogic,axg-sound-card"; - model = "G12B-KHADAS-VIM3"; + model = "KHADAS-VIM3"; audio-aux-devs = <&tdmout_a>; audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0", "TDMOUT_A IN 1", "FRDDR_B OUT 0",
@@ -278,12 +283,12 @@ }; ðmac { - pinctrl-0 = <ð_pins>, <ð_rgmii_pins>; - pinctrl-names = "default"; - status = "okay"; - phy-mode = "rgmii"; - phy-handle = <&external_phy>; - amlogic,tx-delay-ns = <2>; + pinctrl-0 = <ð_pins>, <ð_rgmii_pins>; + pinctrl-names = "default"; + status = "okay"; + phy-mode = "rgmii"; + phy-handle = <&external_phy>; + amlogic,tx-delay-ns = <2>; }; &frddr_a {
@@ -330,7 +335,7 @@ #gpio-cells = <2>; }; - rtc at 51 { + rtc: rtc at 51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>;
@@ -349,9 +354,9 @@ }; &pwm_ef { - status = "okay"; - pinctrl-0 = <&pwm_e_pins>; - pinctrl-names = "default"; + status = "okay"; + pinctrl-0 = <&pwm_e_pins>; + pinctrl-names = "default"; }; &saradc {
@@ -445,7 +450,6 @@ }; }; - &tdmif_a { status = "okay"; };
arch/arm/dts/meson-sm1-khadas-vim3l.dts +3 -4
@@ -89,13 +89,12 @@ status = "okay"; }; -&sd_emmc_a { - sd-uhs-sdr50; -}; - &usb { phys = <&usb2_phy0>, <&usb2_phy1>; phy-names = "usb2-phy0", "usb2-phy1"; }; */ +&sd_emmc_a { + sd-uhs-sdr50; +};
arch/arm/dts/meson-sm1-odroid-c4.dts +2 -427
467 lines not on this page · raw message
arch/arm/dts/meson-sm1-odroid-hc4.dts new file +96 -0
96 lines not on this page · raw message
arch/arm/dts/meson-sm1-odroid.dtsi new file +442 -0
442 lines not on this page · raw message
arch/arm/dts/meson-sm1-sei610.dts +5 -5
@@ -101,20 +101,20 @@ }; }; - leds { + led-controller-1 { compatible = "gpio-leds"; - led-bluetooth { + led-1 { label = "sei610:blue:bt"; gpios = <&gpio GPIOC_7 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; default-state = "off"; }; }; - pwmleds { + led-controller-2 { compatible = "pwm-leds"; - power { + led-2 { label = "sei610:red:power"; pwms = <&pwm_AO_ab 0 30518 0>; max-brightness = <255>;
@@ -220,7 +220,7 @@ sound { compatible = "amlogic,axg-sound-card"; - model = "SM1-SEI610"; + model = "SEI610"; audio-aux-devs = <&tdmout_a>, <&tdmout_b>, <&tdmin_a>, <&tdmin_b>; audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
arch/arm/dts/meson-sm1.dtsi +1 -1
@@ -130,7 +130,7 @@ opp-microvolt = <790000>; }; - opp-1512000000 { + opp-1500000000 { opp-hz = /bits/ 64 <1500000000>; opp-microvolt = <800000>; };
include/dt-bindings/clock/axg-clkc.h +25 -1
@@ -70,7 +70,31 @@#define CLKID_HIFI_PLL 69#define CLKID_PCIE_CML_EN0 79#define CLKID_PCIE_CML_EN1 80 -#define CLKID_MIPI_ENABLE 81#define CLKID_GEN_CLK 84 +#define CLKID_VPU_0_SEL 92 +#define CLKID_VPU_0 93 +#define CLKID_VPU_1_SEL 95 +#define CLKID_VPU_1 96 +#define CLKID_VPU 97 +#define CLKID_VAPB_0_SEL 99 +#define CLKID_VAPB_0 100 +#define CLKID_VAPB_1_SEL 102 +#define CLKID_VAPB_1 103 +#define CLKID_VAPB_SEL 104 +#define CLKID_VAPB 105 +#define CLKID_VCLK 106 +#define CLKID_VCLK2 107 +#define CLKID_VCLK_DIV1 122 +#define CLKID_VCLK_DIV2 123 +#define CLKID_VCLK_DIV4 124 +#define CLKID_VCLK_DIV6 125 +#define CLKID_VCLK_DIV12 126 +#define CLKID_VCLK2_DIV1 127 +#define CLKID_VCLK2_DIV2 128 +#define CLKID_VCLK2_DIV4 129 +#define CLKID_VCLK2_DIV6 130 +#define CLKID_VCLK2_DIV12 131 +#define CLKID_CTS_ENCL 133 +#define CLKID_VDIN_MEAS 136#endif /* __AXG_CLKC_H */
include/dt-bindings/clock/g12a-clkc.h +2 -0
@@ -147,5 +147,7 @@#define CLKID_SPICC1_SCLK 261#define CLKID_NNA_AXI_CLK 264#define CLKID_NNA_CORE_CLK 267 +#define CLKID_MIPI_DSI_PXCLK_SEL 269 +#define CLKID_MIPI_DSI_PXCLK 270#endif /* __G12A_CLKC_H */
Signature · 1 line
2.25.1
PATCH 2/8 net: designware: meson8b: add g12a compatible
Add support for the Meson G12A dwmac glue compatible needed after Linux 5.12 sync.
--- drivers/net/dwmac_meson8b.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/dwmac_meson8b.c +1 -0
@@ -133,6 +133,7 @@ static int dwmac_meson8b_probe(struct udevice *dev)static const struct udevice_id dwmac_meson8b_ids[] = { { .compatible ="amlogic,meson-gxbb-dwmac" , .data = (ulong )dwmac_setup_gx }, + { .compatible ="amlogic,meson-g12a-dwmac" , .data = (ulong )dwmac_setup_axg }, { .compatible ="amlogic,meson-axg-dwmac" , .data = (ulong )dwmac_setup_axg }, { } };
Signature · 1 line
2.25.1
PATCH 2/8 net: designware: meson8b: add g12a compatible
Quoted 21 lines · Neil Armstrong
Add support for the Meson G12A dwmac glue compatible needed after Linux 5.12 sync.
Signed-off-by Neil Armstrong <[email protected]>--- drivers/net/dwmac_meson8b.c | 1 + 1 file changed, 1 insertion(+)drivers/net/dwmac_meson8b.c +1
-1@@ -133,6 +133,7 @@ static int dwmac_meson8b_probe(struct udevice *dev)static const struct udevice_id dwmac_meson8b_ids[] = { { .compatible ="amlogic,meson-gxbb-dwmac" , .data = (ulong )dwmac_setup_gx }, + { .compatible ="amlogic,meson-g12a-dwmac" , .data = (ulong )dwmac_setup_axg }, { .compatible ="amlogic,meson-axg-dwmac" , .data = (ulong )dwmac_setup_axg }, { } }; --
Quoted 2 lines
2.25.1
PATCH 2/8 net: designware: meson8b: add g12a compatible
In reply to Neil ArmstrongQuoted 13 lines · Neil Armstrong
Add support for the Meson G12A dwmac glue compatible needed after Linux 5.12 sync.
Signed-off-by Neil Armstrong <[email protected]>--- drivers/net/dwmac_meson8b.c | 1 + 1 file changed, 1 insertion(+)drivers/net/dwmac_meson8b.c +0
-0
drivers/net/dwmac_meson8b.c static int dwmac_meson8b_probe(struct udevice *dev) · line 139
Quoted 7 lines
drivers/net/dwmac_meson8b.c +1
-0@@ -133,6 +133,7 @@ static int dwmac_meson8b_probe(struct udevice *dev)static const struct udevice_id dwmac_meson8b_ids[] = { { .compatible ="amlogic,meson-gxbb-dwmac" , .data = (ulong )dwmac_setup_gx }, + { .compatible ="amlogic,meson-g12a-dwmac" , .data = (ulong )dwmac_setup_axg }, { .compatible ="amlogic,meson-axg-dwmac" , .data = (ulong )dwmac_setup_axg }, { } };
Thanks,
Applied to u-boot-amlogic
Neil
PATCH 3/8 ARM: meson-axg: remove local USB nodes
In reply to Neil ArmstrongDrop the local USB nodes after Linux 5.12 sync.
--- arch/arm/dts/meson-axg-s400-u-boot.dtsi | 8 ---- arch/arm/dts/meson-axg-u-boot.dtsi | 62 ------------------------- 2 files changed, 70 deletions(-) delete mode 100644 arch/arm/dts/meson-axg-u-boot.dtsi
arch/arm/dts/meson-axg-s400-u-boot.dtsi +0 -8
@@ -3,8 +3,6 @@ * Copyright (c) 2017 Amlogic, Inc. All rights reserved. */ -#include "meson-axg-u-boot.dtsi" - /* wifi module */ &sd_emmc_b { status = "disabled";
@@ -15,12 +13,6 @@ status = "okay"; }; -&usb { - status = "okay"; - dr_mode = "otg"; - vbus-supply = <&usb_pwr>; -}; - &usb2_phy1 { phy-supply = <&vcc_5v>; };
arch/arm/dts/meson-axg-u-boot.dtsi deleted +0 -62
62 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH 4/8 configs: meson64: add SCSI boot target
In reply to Neil ArmstrongAdd SCSI target to be able to boot from the SATA disks on the Odroid HC4 using an on-board AHCI PCIe controller.
--- include/configs/meson64.h | 7 +++++++ 1 file changed, 7 insertions(+)
include/configs/meson64.h +7 -0
@@ -64,6 +64,12 @@#define BOOT_TARGET_NVME (func)#endif +#ifdef CONFIG_CMD_SCSI +#define BOOT_TARGET_SCSI (func) func(SCSI, scsi, 0) +#else +#define BOOT_TARGET_SCSI (func) +#endif +#ifndef BOOT_TARGET_DEVICES #define BOOT_TARGET_DEVICES (func) \ func(ROMUSB, romusb, na) \
@@ -72,6 +78,7 @@ func(MMC, mmc, 2) \ BOOT_TARGET_DEVICES_USB(func) \ BOOT_TARGET_NVME(func) \ + BOOT_TARGET_SCSI(func) \ func(PXE, pxe, na) \ func(DHCP, dhcp, na)#endif
Signature · 1 line
2.25.1
PATCH 5/8 distro_bootcmd: run pci enum for scsi_boot just like it is done for nvme_boot
In reply to Neil ArmstrongThe SCSI device can be a PCIe adapter, so run pcie enum if enabled.
--- include/config_distro_bootcmd.h | 1 + 1 file changed, 1 insertion(+)
include/config_distro_bootcmd.h +1 -0
@@ -226,6 +226,7 @@"fi\0" \ \"scsi_boot=" \ +BOOTENV_RUN_PCI_ENUM \BOOTENV_RUN_SCSI_INIT \ BOOTENV_SHARED_BLKDEV_BODY(scsi)#define BOOTENV_DEV_SCSI BOOTENV_DEV_BLKDEV
Signature · 1 line
2.25.1
PATCH 6/8 ARM: amlogic: add support for Odroid-HC4 device
In reply to Neil ArmstrongThe Odroid-HC4 is a variant of the Odroid-C4 board but with an PCIe-SATA bridge instead of the USB3 ports.
--- arch/arm/dts/meson-sm1-odroid-hc4-u-boot.dtsi | 23 +++++ configs/odroid-hc4_defconfig | 86 +++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 arch/arm/dts/meson-sm1-odroid-hc4-u-boot.dtsi create mode 100644 configs/odroid-hc4_defconfig
arch/arm/dts/meson-sm1-odroid-hc4-u-boot.dtsi new file +23 -0
@@ -0,0 +1,23 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 BayLibre, SAS + * Author: Neil Armstrong <[email protected]> + */ + +#include "meson-sm1-u-boot.dtsi" + +ðmac { + snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; + snps,reset-delays-us = <0 10000 1000000>; + snps,reset-active-low; +}; + +/* SARADC is needed for proper board variant detection */ +&saradc { + status = "okay"; + vref-supply = <&vddao_1v8>; +}; + +&tflash_vdd { + gpio = <&gpio_ao GPIOAO_3 GPIO_OPEN_DRAIN>; +};
configs/odroid-hc4_defconfig new file +86 -0
86 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH 7/8 doc: boards: amlogic: update for Odroid HC4
In reply to Neil ArmstrongAdd documentation bits for the Odroid-HC4.
--- doc/board/amlogic/index.rst | 2 +- doc/board/amlogic/odroid-c4.rst | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-)
doc/board/amlogic/index.rst +1 -1
@@ -18,7 +18,7 @@ This matrix concerns the actual source code version. | Boards | Odroid-C2 | P212 | Khadas VIM2 | S400 | U200 | Odroid-N2 | SEI610 | | | Nanopi-K2 | Khadas-VIM | Libretech-PC | | SEI510 | Khadas-VIM3 | Khadas-VIM3L | | | P200 | LibreTech-CC v1 | WeTek Core2 | | | GT-King/Pro | Odroid-C4 | -| | P201 | LibreTech-AC v2 | | | | | | +| | P201 | LibreTech-AC v2 | | | | | Odroid-HC4 | +-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+ | UART | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | **Yes** | +-------------------------------+-----------+-----------------+--------------+------------+------------+-------------+--------------+
doc/board/amlogic/odroid-c4.rst +3 -0
@@ -17,6 +17,9 @@ Co. Ltd with the following specifications: - UART serial - Infrared receiver +The ODROID-HC4 is a variant with a PCIe-SATA controller, the same commands +applies for HC4. + Schematics are available on the manufacturer website. U-Boot compilation
Signature · 1 line
2.25.1
PATCH 8/8 ARM: meson: add Beelink GS-King X board
In reply to Neil ArmstrongThe Beelink GS-King X is a variant of the GS King boards but with an internal USB to SATA bridge and advanced audio features.
--- arch/arm/dts/meson-g12b-gsking-x-u-boot.dtsi | 7 ++ configs/beelink-gsking-x_defconfig | 72 ++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 arch/arm/dts/meson-g12b-gsking-x-u-boot.dtsi create mode 100644 configs/beelink-gsking-x_defconfig
arch/arm/dts/meson-g12b-gsking-x-u-boot.dtsi new file +7 -0
@@ -0,0 +1,7 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 BayLibre, SAS. + * Author: Neil Armstrong <[email protected]> + */ + +#include "meson-g12-common-u-boot.dtsi"
configs/beelink-gsking-x_defconfig new file +72 -0
72 lines not on this page · raw message
Signature · 1 line
2.25.1