[PATCH 1/3] at91: add pioBU label to secumod

Hauke Mehrtens hauke at hauke-m.de
Sat Jul 24 10:42:49 PDT 2021


On 7/16/21 7:08 AM, Claudiu Beznea wrote:
> Add pioBU label to secumod. Along with this set gpio controller
> properties for secumod.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea at microchip.com>
> ---
>   .../linux/at91/patches-5.4/104-add-piobu.patch   | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>   create mode 100644 target/linux/at91/patches-5.4/104-add-piobu.patch
> 
> diff --git a/target/linux/at91/patches-5.4/104-add-piobu.patch b/target/linux/at91/patches-5.4/104-add-piobu.patch
> new file mode 100644
> index 000000000000..2495fe4635a1
> --- /dev/null
> +++ b/target/linux/at91/patches-5.4/104-add-piobu.patch

Please take this patch from upstream with the comments in it:
https://git.kernel.org/linus/4514a7c81234673a764c59e59a0c34c1921f093b

> @@ -0,0 +1,16 @@
> +--- a/arch/arm/boot/dts/sama5d2.dtsi
> ++++ b/arch/arm/boot/dts/sama5d2.dtsi
> +@@ -885,9 +885,12 @@
> + 				clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
> + 			};
> +
> +-			secumod at fc040000 {
> ++			pioBU: secumod at fc040000 {
> + 				compatible = "atmel,sama5d2-secumod", "syscon";
> + 				reg = <0xfc040000 0x100>;
> ++
> ++				gpio-controller;
> ++				#gpio-cells = <2>;
> + 			};
> +
> + 			tdes at fc044000 {
> 




More information about the openwrt-devel mailing list