[PATCH 1/8] at91: kernel: bump to 5.10

Claudiu Beznea claudiu.beznea at microchip.com
Fri Aug 20 04:42:41 PDT 2021


Bump at91 targets to kernel v5.10. With this, patches and files for
wb45n and wb50n were removed as they are now included in upstream
kernel.

Signed-off-by: Claudiu Beznea <claudiu.beznea at microchip.com>
---
 target/linux/at91/Makefile                    |   2 +-
 .../at91/files/arch/arm/boot/dts/wb45n.dts    | 220 ------------------
 .../at91/files/arch/arm/boot/dts/wb50n.dts    | 113 ---------
 .../at91/files/arch/arm/boot/dts/wb50n.dtsi   | 205 ----------------
 target/linux/at91/image/sam9x.mk              |   1 +
 target/linux/at91/image/sama5.mk              |   1 +
 .../101-ARM-at91-build-dtb-for-q5xr5.patch    |  10 +
 .../101-ARM-at91-build-dtb-for-q5xr5.patch    |  10 -
 .../102-ARM-at91-build-dtb-for-wb45n.patch    |  12 -
 ...2-ARM-at91-wb45n-fix-duplicate-label.patch |  20 --
 .../103-ARM-at91-build-dtb-for-wb50n.patch    |  12 -
 ...3-ARM-at91-wb50n-fix-duplicate-label.patch |  39 ----
 12 files changed, 13 insertions(+), 632 deletions(-)
 delete mode 100644 target/linux/at91/files/arch/arm/boot/dts/wb45n.dts
 delete mode 100644 target/linux/at91/files/arch/arm/boot/dts/wb50n.dts
 delete mode 100644 target/linux/at91/files/arch/arm/boot/dts/wb50n.dtsi
 create mode 040000 target/linux/at91/patches-5.10
 create mode 100644 target/linux/at91/patches-5.10/101-ARM-at91-build-dtb-for-q5xr5.patch
 delete mode 040000 target/linux/at91/patches-5.4
 delete mode 100644 target/linux/at91/patches-5.4/101-ARM-at91-build-dtb-for-q5xr5.patch
 delete mode 100644 target/linux/at91/patches-5.4/102-ARM-at91-build-dtb-for-wb45n.patch
 delete mode 100644 target/linux/at91/patches-5.4/102-ARM-at91-wb45n-fix-duplicate-label.patch
 delete mode 100644 target/linux/at91/patches-5.4/103-ARM-at91-build-dtb-for-wb50n.patch
 delete mode 100644 target/linux/at91/patches-5.4/103-ARM-at91-wb50n-fix-duplicate-label.patch

diff --git a/target/linux/at91/Makefile b/target/linux/at91/Makefile
index fe6a93244a5f..e4da7fb7e7da 100644
--- a/target/linux/at91/Makefile
+++ b/target/linux/at91/Makefile
@@ -10,7 +10,7 @@ BOARDNAME:=Microchip (Atmel AT91)
 FEATURES:=ext4 squashfs targz usb usbgadget ubifs
 SUBTARGETS:=sama5 sam9x
 
-KERNEL_PATCHVER:=5.4
+KERNEL_PATCHVER:=5.10
 
 include $(INCLUDE_DIR)/target.mk
 
diff --git a/target/linux/at91/files/arch/arm/boot/dts/wb45n.dts b/target/linux/at91/files/arch/arm/boot/dts/wb45n.dts
deleted file mode 100644
index fd9d260f2ab5..000000000000
--- a/target/linux/at91/files/arch/arm/boot/dts/wb45n.dts
+++ /dev/null
@@ -1,220 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * wb45n.dts - Device Tree file for WB45NBT board
- *
- *  Copyright (C) 2015 Laird
- */
-
-/dts-v1/;
-#include "at91sam9g25.dtsi"
-
-/ {
-	model = "Laird Workgroup Bridge 45N - Atmel AT91SAM (dt)";
-	compatible = "laird,wb45n", "laird,wbxx", "atmel,at91sam9x5", "atmel,at91sam9";
-
-	chosen {
-		bootargs = "console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs";
-	};
-
-	memory {
-		reg = <0x20000000 0x4000000>;
-	};
-
-	clocks {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		ranges;
-
-		main_clock: clock at 0 {
-			compatible = "atmel,osc", "fixed-clock";
-			clock-frequency = <12000000>;
-		};
-
-		slow_xtal {
-			clock-frequency = <32768>;
-		};
-
-		main_xtal {
-			clock-frequency = <12000000>;
-		};
-	};
-
-	ahb {
-		apb {
-
-			rstc at fffffe00 {
-				compatible = "atmel,sama5d3-rstc";
-			};
-
-			pinctrl at fffff400 {
-				nand {
-					pinctrl_nand: nand-0 {
-						atmel,pins =
-							<AT91_PIOD 0 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PD0 periph A Read Enable */
-							 AT91_PIOD 1 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PD1 periph A Write Enable */
-							 AT91_PIOD 2 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PD2 periph A Address Latch Enable */
-							 AT91_PIOD 3 AT91_PERIPH_A AT91_PINCTRL_NONE	/* PD3 periph A Command Latch Enable */
-							 AT91_PIOD 4 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP	/* PD4 gpio Chip Enable pin pull_up */
-							 AT91_PIOD 5 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP>;  /* PD5 gpio RDY/BUSY pin pull_up */
-					};
-				};
-
-				usb2 {
-					pinctrl_board_usb2: usb2-board {
-						atmel,pins =
-							<AT91_PIOB 11 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>;		/* PB11 gpio vbus sense, deglitch */
-					};
-				};
-			};
-
-			dbgu: serial at fffff200 {
-				status = "okay";
-			};
-
-			usart0: serial at f801c000 {
-				status = "okay";
-			};
-
-			usart3: serial at f8028000 {
-				status = "okay";
-			};
-
-			spi0: spi at f0000000 {
-				status = "okay";
-				cs-gpios = <&pioA 14 0>, <&pioA 7 0>, <0>, <0>;
-			};
-
-			mmc0: mmc at f0008000 {
-				pinctrl-0 = <
-					&pinctrl_mmc0_slot0_clk_cmd_dat0
-					&pinctrl_mmc0_slot0_dat1_3>;
-				status = "okay";
-				/delete-property/dmas;
-				/delete-property/dma-names;
-				slot at 0 {
-					reg = <0>;
-					bus-width = <4>;
-				};
-			};
-
-			macb0: ethernet at f802c000 {
-				phy-mode = "rmii";
-				status = "okay";
-			};
-
-			usb2: gadget at f803c000 {
-				pinctrl-names = "default";
-				pinctrl-0 = <&pinctrl_board_usb2>;
-				atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
-				status = "okay";
-			};
-
-			i2c1: i2c at f8014000 {
-				status = "okay";
-			};
-
-			watchdog at fffffe40 {
-				status = "okay";
-			};
-
-			shdwc at fffffe10 {
-				atmel,wakeup-mode = "low";
-			};
-
-			rtc at fffffeb0 {
-				status = "okay";
-			};
-		};
-
-		usb0: ohci at 00600000 {
-			status = "okay";
-			num-ports = <2>;
-			atmel,vbus-gpio = <
-					   &pioB 12 GPIO_ACTIVE_HIGH
-					   &pioA 31 GPIO_ACTIVE_HIGH
-					  >;
-			atmel,oc-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
-		};
-
-		usb1: ehci at 00700000 {
-			status = "okay";
-		};
-
-		nand0: nand at 40000000 {
-			nand-bus-width = <8>;
-			nand-ecc-mode = "hw";
-			atmel,has-pmecc;	/* Enable PMECC */
-			atmel,pmecc-cap = <4>;
-			atmel,pmecc-sector-size = <512>;
-			nand-on-flash-bbt;
-			status = "okay";
-
-			at91bootstrap at 0 {
-				label = "at91bs";
-				reg = <0x0 0x20000>;
-			};
-
-			uboot at 20000 {
-				label = "u-boot";
-				reg = <0x20000 0x80000>;
-			};
-
-			ubootenv at a0000 {
-				label = "u-boot-env";
-				reg = <0xa0000 0x20000>;
-			};
-
-			ubootenv at c0000 {
-				label = "redund-env";
-				reg = <0xc0000 0x20000>;
-			};
-
-			kernel-a at e0000 {
-				label = "kernel-a";
-				reg = <0xe0000 0x280000>;
-			};
-
-			kernel-b at 360000 {
-				label = "kernel-b";
-				reg = <0x360000 0x280000>;
-			};
-
-			rootfs-a at 5e0000 {
-				label = "rootfs-a";
-				reg = <0x5e0000 0x2600000>;
-			};
-
-			rootfs-b at 2be0000 {
-				label = "rootfs-b";
-				reg = <0x2be0000 0x2600000>;
-			};
-
-			user at 51e0000 {
-				label = "user";
-				reg = <0x51e0000 0x2dc0000>;
-			};
-
-			logs at 7fa0000 {
-				label = "logs";
-				reg = <0x7fa0000 0x60000>;
-			};
-		};
-	};
-
-	atheros {
-		compatible = "atheros,ath6kl";
-		atheros,board-id = "SD32";
-	};
-
-	keys {
-		compatible = "gpio-keys";
-		#address-cells = <1>;
-		#size-cells = <0>;
-		irqbtn at pb18 {
-			label = "IRQBTN";
-			linux,code = <99>;
-			gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
-			gpio-key,wakeup = <1>;
-		};
-	};
-};
diff --git a/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts b/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts
deleted file mode 100644
index 15b10a8b06c9..000000000000
--- a/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts
+++ /dev/null
@@ -1,113 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * wb50n.dts - Device Tree file for wb50n board
- *
- *  Copyright (C) 2015 Laird
- */
-
-/dts-v1/;
-#include "wb50n.dtsi"
-
-/ {
-	model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
-	compatible = "laird,wb50n", "atmel,sama5d31ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
-
-	chosen {
-		bootargs = "console=ttyS0,115200 earlyprintk loglevel=4 mem=64M";
-	};
-
-	ahb {
-
-		apb {
-			mmc0: mmc at f0000000 {
-				status = "okay";
-			};
-
-			macb1: ethernet at f802c000 {
-				status = "okay";
-			};
-
-			dbgu: serial at ffffee00 {
-				status = "okay";
-			};
-
-			/* On BB40 this port is labeled UART1 */
-			usart0: serial at f001c000 {
-				status = "okay";
-			};
-
-			/* On BB40 this port is labeled UART0 */
-			usart1: serial at f0020000 {
-				status = "okay";
-			};
-
-			i2c0: i2c at f0014000 {
-				status = "okay";
-			};
-
-			spi1: spi at f8008000 {
-				status = "okay";
-
-				spidev at 0 {
-					compatible = "spidev";
-					reg = <0>;
-					spi-max-frequency = <8000000>;
-				};
-			};
-
-			watchdog at fffffe40 {
-				status = "okay";
-			};
-		};
-
-		usb0: gadget at 00500000 {
-			status = "okay";
-		};
-
-		usb1: ohci at 00600000 {
-			status = "okay";
-		};
-
-		usb2: ehci at 00700000 {
-			status = "okay";
-		};
-	};
-
-	keys {
-		compatible = "gpio-keys";
-		#address-cells = <1>;
-		#size-cells = <0>;
-		btn0 at pa10 {
-			label = "BTNESC";
-			linux,code = <1>; /* ESC button */
-			gpios = <&pioA 10 GPIO_ACTIVE_LOW>;
-			gpio-key,wakeup = <1>;
-		};
-
-		irqbtn at pe31 {
-			label = "IRQBTN";
-			linux,code = <99>; /* SysReq button */
-			gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
-			gpio-key,wakeup = <1>;
-		};
-	};
-
-	leds {
-		compatible = "gpio-leds";
-
-		led0 {
-			label = "wb50n:blue:led0";
-			gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
-		};
-
-		led1 {
-			label = "wb50n:green:led1";
-			gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
-		};
-
-		led2 {
-			label = "wb50n:red:led2";
-			gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
-		};
-	};
-};
diff --git a/target/linux/at91/files/arch/arm/boot/dts/wb50n.dtsi b/target/linux/at91/files/arch/arm/boot/dts/wb50n.dtsi
deleted file mode 100644
index 936cce39ed7f..000000000000
--- a/target/linux/at91/files/arch/arm/boot/dts/wb50n.dtsi
+++ /dev/null
@@ -1,205 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0-or-later
-/*
- * wb50n.dts - Device Tree file for wb50n board
- *
- *  Copyright (C) 2015 Laird
- */
-
-#include "sama5d31.dtsi"
-
-/ {
-	model = "Laird Workgroup Bridge 50N - Atmel SAMA5D";
-	compatible = "laird,wb50n", "atmel,sama5d31ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
-
-	chosen {
-		bootargs = "console=ttyS0,115200 earlyprintk loglevel=4 mem=64M";
-	};
-
-	memory {
-		reg = <0x20000000 0x4000000>;
-	};
-
-	clocks {
-		slow_xtal {
-			clock-frequency = <32768>;
-		};
-
-		main_xtal {
-			clock-frequency = <12000000>;
-		};
-	};
-
-	ahb {
-
-		apb {
-			pmc: pmc at fffffc00 {
-				main: mainck {
-					clock-frequency = <12000000>;
-				};
-
-				periphck {
-					usart1_clk: usart1_clk {
-						#clock-cells = <0>;
-						reg = <13>;
-						atmel,clk-output-range = <0 132000000>;
-					};
-				};
-			};
-
-			pinctrl at fffff200 {
-				board {
-					pinctrl_mmc0_cd: mmc0_cd {
-						atmel,pins =
-							<AT91_PIOC 26 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PC26 GPIO with pullup deglitch */
-					};
-
-					pinctrl_usba_vbus: usba_vbus {
-						atmel,pins =
-							<AT91_PIOB 13 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB13 GPIO with deglitch */
-					};
-				};
-			};
-
-			mmc0: mmc at f0000000 {
-				pinctrl-names = "default";
-				pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>;
-				cd-gpios = <&pioC 26 GPIO_ACTIVE_LOW>;
-				slot at 0 {
-					reg = <0>;
-					bus-width = <4>;
-				};
-			};
-
-			mmc1: mmc at f8000000 {
-				pinctrl-names = "default";
-				pinctrl-0 = <&pinctrl_mmc1_clk_cmd_dat0 &pinctrl_mmc1_dat1_3>;
-				status = "okay";
-				slot at 0 {
-					reg = <0>;
-					bus-width = <4>;
-				};
-			};
-
-			macb1: ethernet at f802c000 {
-				phy-mode = "rmii";
-			};
-
-
-			dbgu: serial at ffffee00 {
-				dmas = <0>, <0>;	/*  Do not use DMA for dbgu */
-			};
-
-			/* On BB40 this port is labeled UART1 */
-			usart0: serial at f001c000 {
-				atmel,use-dma-rx;
-				atmel,use-dma-tx;
-				pinctrl-names = "default";
-				pinctrl-0 = <&pinctrl_usart0 &pinctrl_usart0_rts_cts>;
-			};
-
-			/* On BB40 this port is labeled UART0 */
-			usart1: serial at f0020000 {
-				atmel,use-dma-rx;
-				atmel,use-dma-tx;
-				pinctrl-names = "default";
-				pinctrl-0 = <&pinctrl_usart1 &pinctrl_usart1_rts_cts>;
-				dtr-gpios = <&pioD 13 GPIO_ACTIVE_LOW>;
-				dsr-gpios = <&pioD 11 GPIO_ACTIVE_LOW>;
-				dcd-gpios = <&pioD 7 GPIO_ACTIVE_LOW>;
-				rng-gpios = <&pioD 8 GPIO_ACTIVE_LOW>;
-			};
-
-			/* USART3 is direct-connect to the Bluetooth UART on the radio SIP */
-			usart3: serial at f8024000 {
-				atmel,use-dma-rx;
-				atmel,use-dma-tx;
-				pinctrl-names = "default";
-				pinctrl-0 = <&pinctrl_usart3 &pinctrl_usart3_rts_cts>;
-				status = "okay";
-			};
-
-			spi1: spi at f8008000 {
-				cs-gpios = <&pioC 25 0>, <0>, <0>, <0>;
-			};
-
-			sckc at fffffe50 {
-				slow_osc: slow_osc {
-					atmel,osc-bypass;
-				};
-			};
-		};
-
-		nand0: nand at 60000000 {
-			nand-bus-width = <8>;
-			nand-ecc-mode = "hw";
-			atmel,has-pmecc;
-			atmel,pmecc-cap = <8>;
-			atmel,pmecc-sector-size = <512>;
-			nand-on-flash-bbt;
-			status = "okay";
-
-			at91bootstrap at 0 {
-				label = "at91bs";
-				reg = <0x0 0x20000>;
-			};
-
-			uboot at 20000 {
-				label = "u-boot";
-				reg = <0x20000 0x80000>;
-			};
-
-			ubootenv at a0000 {
-				label = "u-boot-env";
-				reg = <0xa0000 0x20000>;
-			};
-
-			ubootenv at c0000 {
-				label = "u-boot-env";
-				reg = <0xc0000 0x20000>;
-			};
-
-			kernel-a at e0000 {
-				label = "kernel-a";
-				reg = <0xe0000 0x500000>;
-			};
-
-			kernel-b at 5e0000 {
-				label = "kernel-b";
-				reg = <0x5e0000 0x500000>;
-			};
-
-			rootfs-a at ae0000 {
-				label = "rootfs-a";
-				reg = <0xae0000 0x3000000>;
-			};
-
-			rootfs-b at 3ae0000 {
-				label = "rootfs-b";
-				reg = <0x3ae0000 0x3000000>;
-			};
-
-			user at 6ae0000 {
-				label = "user";
-				reg = <0x6ae0000 0x14e0000>;
-			};
-
-		};
-
-		usb0: gadget at 00500000 {
-			atmel,vbus-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
-			pinctrl-names = "default";
-			pinctrl-0 = <&pinctrl_usba_vbus>;
-		};
-
-		usb1: ohci at 00600000 {
-			num-ports = <3>;
-			atmel,vbus-gpio = <&pioA 2 GPIO_ACTIVE_LOW>;
-			atmel,oc-gpio = <&pioA 4 GPIO_ACTIVE_LOW>;
-		};
-	};
-
-	atheros {
-		compatible = "atheros,ath6kl";
-		atheros,board-id = "SD32";
- 	};
-};
diff --git a/target/linux/at91/image/sam9x.mk b/target/linux/at91/image/sam9x.mk
index 1a036e493ffa..6f10123bbaae 100644
--- a/target/linux/at91/image/sam9x.mk
+++ b/target/linux/at91/image/sam9x.mk
@@ -194,6 +194,7 @@ define Device/laird_wb45n
   $(Device/evaluation-fit)
   DEVICE_VENDOR := Laird
   DEVICE_MODEL := WB45N
+  DEVICE_DTS := at91-wb45n
   DEVICE_PACKAGES := \
 	kmod-mmc-at91 kmod-ath6kl-sdio ath6k-firmware \
 	kmod-usb-storage kmod-fs-vfat kmod-fs-msdos \
diff --git a/target/linux/at91/image/sama5.mk b/target/linux/at91/image/sama5.mk
index d644f89266d1..f8e05aae9343 100644
--- a/target/linux/at91/image/sama5.mk
+++ b/target/linux/at91/image/sama5.mk
@@ -104,6 +104,7 @@ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")
     $(Device/evaluation-fit)
     DEVICE_VENDOR := Laird
     DEVICE_MODEL := WB50N
+    DEVICE_DTS := at91-wb50n
     DEVICE_PACKAGES := \
 	  kmod-mmc-at91 kmod-ath6kl-sdio ath6k-firmware \
 	  kmod-usb-storage kmod-fs-vfat kmod-fs-msdos \
diff --git a/target/linux/at91/patches-5.10/101-ARM-at91-build-dtb-for-q5xr5.patch b/target/linux/at91/patches-5.10/101-ARM-at91-build-dtb-for-q5xr5.patch
new file mode 100644
index 000000000000..2bf8ca52ec0b
--- /dev/null
+++ b/target/linux/at91/patches-5.10/101-ARM-at91-build-dtb-for-q5xr5.patch
@@ -0,0 +1,10 @@
+--- a/arch/arm/boot/dts/Makefile
++++ b/arch/arm/boot/dts/Makefile
+@@ -41,6 +41,7 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \
+ 	at91-kizboxmini-mb.dtb \
+ 	at91-kizboxmini-rd.dtb \
+ 	at91-smartkiz.dtb \
++	at91-q5xr5.dtb \
+ 	at91-wb45n.dtb \
+ 	at91sam9g15ek.dtb \
+ 	at91sam9g25-gardena-smart-gateway.dtb \
diff --git a/target/linux/at91/patches-5.4/101-ARM-at91-build-dtb-for-q5xr5.patch b/target/linux/at91/patches-5.4/101-ARM-at91-build-dtb-for-q5xr5.patch
deleted file mode 100644
index b736b99f7fb1..000000000000
--- a/target/linux/at91/patches-5.4/101-ARM-at91-build-dtb-for-q5xr5.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -38,6 +38,7 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \
- 	at91-ariettag25.dtb \
- 	at91-cosino_mega2560.dtb \
- 	at91-kizboxmini.dtb \
-+	at91-q5xr5.dtb \
- 	at91-wb45n.dtb \
- 	at91sam9g15ek.dtb \
- 	at91sam9g25ek.dtb \
diff --git a/target/linux/at91/patches-5.4/102-ARM-at91-build-dtb-for-wb45n.patch b/target/linux/at91/patches-5.4/102-ARM-at91-build-dtb-for-wb45n.patch
deleted file mode 100644
index c35ecc510a23..000000000000
--- a/target/linux/at91/patches-5.4/102-ARM-at91-build-dtb-for-wb45n.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -44,7 +44,8 @@ dtb-$(CONFIG_SOC_AT91SAM9) += \
- 	at91sam9g25ek.dtb \
- 	at91sam9g35ek.dtb \
- 	at91sam9x25ek.dtb \
--	at91sam9x35ek.dtb
-+	at91sam9x35ek.dtb \
-+	wb45n.dtb
- dtb-$(CONFIG_SOC_SAM_V7) += \
- 	at91-kizbox2.dtb \
- 	at91-nattis-2-natte-2.dtb \
diff --git a/target/linux/at91/patches-5.4/102-ARM-at91-wb45n-fix-duplicate-label.patch b/target/linux/at91/patches-5.4/102-ARM-at91-wb45n-fix-duplicate-label.patch
deleted file mode 100644
index 9d060426ec0f..000000000000
--- a/target/linux/at91/patches-5.4/102-ARM-at91-wb45n-fix-duplicate-label.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/arch/arm/boot/dts/wb45n.dts
-+++ b/arch/arm/boot/dts/wb45n.dts
-@@ -126,7 +126,7 @@
- 			};
- 		};
- 
--		usb0: ohci at 00600000 {
-+		usb0: ohci at 600000 {
- 			status = "okay";
- 			num-ports = <2>;
- 			atmel,vbus-gpio = <
-@@ -136,7 +136,7 @@
- 			atmel,oc-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
- 		};
- 
--		usb1: ehci at 00700000 {
-+		usb1: ehci at 700000 {
- 			status = "okay";
- 		};
- 
diff --git a/target/linux/at91/patches-5.4/103-ARM-at91-build-dtb-for-wb50n.patch b/target/linux/at91/patches-5.4/103-ARM-at91-build-dtb-for-wb50n.patch
deleted file mode 100644
index ab5d7afcbbbf..000000000000
--- a/target/linux/at91/patches-5.4/103-ARM-at91-build-dtb-for-wb50n.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -66,7 +66,8 @@ dtb-$(CONFIG_SOC_SAM_V7) += \
- 	at91-sama5d4_ma5d4evk.dtb \
- 	at91-sama5d4_xplained.dtb \
- 	at91-sama5d4ek.dtb \
--	at91-vinco.dtb
-+	at91-vinco.dtb \
-+	wb50n.dtb
- dtb-$(CONFIG_ARCH_ATLAS6) += \
- 	atlas6-evb.dtb
- dtb-$(CONFIG_ARCH_ATLAS7) += \
diff --git a/target/linux/at91/patches-5.4/103-ARM-at91-wb50n-fix-duplicate-label.patch b/target/linux/at91/patches-5.4/103-ARM-at91-wb50n-fix-duplicate-label.patch
deleted file mode 100644
index bfe6e5a9baaa..000000000000
--- a/target/linux/at91/patches-5.4/103-ARM-at91-wb50n-fix-duplicate-label.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- a/arch/arm/boot/dts/wb50n.dts
-+++ b/arch/arm/boot/dts/wb50n.dts
-@@ -60,15 +60,15 @@
- 			};
- 		};
- 
--		usb0: gadget at 00500000 {
-+		usb0: gadget at 500000 {
- 			status = "okay";
- 		};
- 
--		usb1: ohci at 00600000 {
-+		usb1: ohci at 600000 {
- 			status = "okay";
- 		};
- 
--		usb2: ehci at 00700000 {
-+		usb2: ehci at 700000 {
- 			status = "okay";
- 		};
- 	};
---- a/arch/arm/boot/dts/wb50n.dtsi
-+++ b/arch/arm/boot/dts/wb50n.dtsi
-@@ -185,13 +185,13 @@
- 
- 		};
- 
--		usb0: gadget at 00500000 {
-+		usb0: gadget at 500000 {
- 			atmel,vbus-gpio = <&pioB 13 GPIO_ACTIVE_LOW>;
- 			pinctrl-names = "default";
- 			pinctrl-0 = <&pinctrl_usba_vbus>;
- 		};
- 
--		usb1: ohci at 00600000 {
-+		usb1: ohci at 600000 {
- 			num-ports = <3>;
- 			atmel,vbus-gpio = <&pioA 2 GPIO_ACTIVE_LOW>;
- 			atmel,oc-gpio = <&pioA 4 GPIO_ACTIVE_LOW>;
-- 
2.23.0




More information about the openwrt-devel mailing list