From cddd4591404fb4c53dc0b3c0b15b942cdbed4356 Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Fri, 10 Apr 2020 10:47:05 +0800 Subject: layerscape: add patches-5.4 Add patches for linux-5.4. The patches are from NXP LSDK-20.04 release which was tagged LSDK-20.04-V5.4. https://source.codeaurora.org/external/qoriq/qoriq-components/linux/ For boards LS1021A-IOT, and Traverse-LS1043 which are not involved in LSDK, port the dts patches from 4.14. The patches are sorted into the following categories: 301-arch-xxxx 302-dts-xxxx 303-core-xxxx 701-net-xxxx 801-audio-xxxx 802-can-xxxx 803-clock-xxxx 804-crypto-xxxx 805-display-xxxx 806-dma-xxxx 807-gpio-xxxx 808-i2c-xxxx 809-jailhouse-xxxx 810-keys-xxxx 811-kvm-xxxx 812-pcie-xxxx 813-pm-xxxx 814-qe-xxxx 815-sata-xxxx 816-sdhc-xxxx 817-spi-xxxx 818-thermal-xxxx 819-uart-xxxx 820-usb-xxxx 821-vfio-xxxx Signed-off-by: Yangbo Lu --- ...sl-layerscape-fix-warnings-when-compiling.patch | 292 +++++++++++++++++++++ 1 file changed, 292 insertions(+) create mode 100644 target/linux/layerscape/patches-5.4/302-dts-0051-arm64-dts-fsl-layerscape-fix-warnings-when-compiling.patch (limited to 'target/linux/layerscape/patches-5.4/302-dts-0051-arm64-dts-fsl-layerscape-fix-warnings-when-compiling.patch') diff --git a/target/linux/layerscape/patches-5.4/302-dts-0051-arm64-dts-fsl-layerscape-fix-warnings-when-compiling.patch b/target/linux/layerscape/patches-5.4/302-dts-0051-arm64-dts-fsl-layerscape-fix-warnings-when-compiling.patch new file mode 100644 index 0000000000..2e68b8edbe --- /dev/null +++ b/target/linux/layerscape/patches-5.4/302-dts-0051-arm64-dts-fsl-layerscape-fix-warnings-when-compiling.patch @@ -0,0 +1,292 @@ +From d949248dccef18f7257d8de0adfd67244955e7b7 Mon Sep 17 00:00:00 2001 +From: Pankaj Bansal +Date: Mon, 22 Apr 2019 16:22:49 +0530 +Subject: [PATCH] arm64: dts: fsl: layerscape: fix warnings when compiling dts + files + +when compiling dts file using DTC_FLAG='-@', the device tree compiler +reports these warnings: + +Warning (simple_bus_reg): /soc/mdio@0x8c0b000: simple-bus unit address +format error, expected "8c0b000" +Warning (unit_address_format): /pfe@04000000: unit name should not have +leading 0s + +Fixed the node names to silence these warnings. + +Signed-off-by: Pankaj Bansal +--- + arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 3 ++- + arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 14 +++++++------- + arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 22 +++++++++++----------- + arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 18 +++++++++--------- + 4 files changed, 29 insertions(+), 28 deletions(-) + +--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi ++++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +@@ -3,6 +3,7 @@ + * Device Tree Include file for Freescale Layerscape-1012A family SoC. + * + * Copyright 2016 Freescale Semiconductor, Inc. ++ * Copyright 2019 NXP + * + */ + +@@ -513,7 +514,7 @@ + }; + }; + +- pfe: pfe@04000000 { ++ pfe: pfe@4000000 { + compatible = "fsl,pfe"; + reg = <0x0 0x04000000 0x0 0xc00000>, /* AXI 16M */ + <0x0 0x83400000 0x0 0xc00000>; /* PFE DDR 12M */ +--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi ++++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +@@ -2,7 +2,7 @@ + /* + * Device Tree Include file for NXP Layerscape-1088A family SoC. + * +- * Copyright 2017 NXP ++ * Copyright 2017-2019 NXP + * + * Harninder Rai + * +@@ -310,7 +310,7 @@ + }; + + /* TODO: WRIOP (CCSR?) */ +- emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000, ++ emdio1: mdio@8B96000 { /* WRIOP0: 0x8B8_0000, + * E-MDIO1: 0x1_6000 + */ + compatible = "fsl,fman-memac-mdio"; +@@ -323,7 +323,7 @@ + #size-cells = <0>; + }; + +- emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000, ++ emdio2: mdio@8B97000 { /* WRIOP0: 0x8B8_0000, + * E-MDIO2: 0x1_7000 + */ + compatible = "fsl,fman-memac-mdio"; +@@ -335,7 +335,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio1: mdio@0x8c07000 { ++ pcs_mdio1: mdio@8c07000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c07000 0x0 0x1000>; + device_type = "mdio"; +@@ -345,7 +345,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio2: mdio@0x8c0b000 { ++ pcs_mdio2: mdio@8c0b000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c0b000 0x0 0x1000>; + device_type = "mdio"; +@@ -355,7 +355,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio3: mdio@0x8c0f000 { ++ pcs_mdio3: mdio@8c0f000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c0f000 0x0 0x1000>; + device_type = "mdio"; +@@ -365,7 +365,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio4: mdio@0x8c13000 { ++ pcs_mdio4: mdio@8c13000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c13000 0x0 0x1000>; + device_type = "mdio"; +--- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi ++++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +@@ -3,7 +3,7 @@ + * Device Tree Include file for Freescale Layerscape-2080A family SoC. + * + * Copyright 2016 Freescale Semiconductor, Inc. +- * Copyright 2017 NXP ++ * Copyright 2017-2019 NXP + * + * Abhimanyu Saini + * +@@ -525,7 +525,7 @@ + }; + + /* TODO: WRIOP (CCSR?) */ +- emdio1: mdio@0x8B96000 { /* WRIOP0: 0x8B8_0000, ++ emdio1: mdio@8B96000 { /* WRIOP0: 0x8B8_0000, + * E-MDIO1: 0x1_6000 + */ + compatible = "fsl,fman-memac-mdio"; +@@ -538,7 +538,7 @@ + #size-cells = <0>; + }; + +- emdio2: mdio@0x8B97000 { /* WRIOP0: 0x8B8_0000, ++ emdio2: mdio@8B97000 { /* WRIOP0: 0x8B8_0000, + * E-MDIO2: 0x1_7000 + */ + compatible = "fsl,fman-memac-mdio"; +@@ -550,7 +550,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio1: mdio@0x8c07000 { ++ pcs_mdio1: mdio@8c07000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c07000 0x0 0x1000>; + device_type = "mdio"; +@@ -560,7 +560,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio2: mdio@0x8c0b000 { ++ pcs_mdio2: mdio@8c0b000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c0b000 0x0 0x1000>; + device_type = "mdio"; +@@ -570,7 +570,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio3: mdio@0x8c0f000 { ++ pcs_mdio3: mdio@8c0f000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c0f000 0x0 0x1000>; + device_type = "mdio"; +@@ -580,7 +580,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio4: mdio@0x8c13000 { ++ pcs_mdio4: mdio@8c13000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c13000 0x0 0x1000>; + device_type = "mdio"; +@@ -590,7 +590,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio5: mdio@0x8c17000 { ++ pcs_mdio5: mdio@8c17000 { + status = "disabled"; + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c17000 0x0 0x1000>; +@@ -601,7 +601,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio6: mdio@0x8c1b000 { ++ pcs_mdio6: mdio@8c1b000 { + status = "disabled"; + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c1b000 0x0 0x1000>; +@@ -612,7 +612,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio7: mdio@0x8c1f000 { ++ pcs_mdio7: mdio@8c1f000 { + status = "disabled"; + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c1f000 0x0 0x1000>; +@@ -623,7 +623,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio8: mdio@0x8c23000 { ++ pcs_mdio8: mdio@8c23000 { + status = "disabled"; + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c23000 0x0 0x1000>; +--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi ++++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +@@ -2,7 +2,7 @@ + // + // Device Tree Include file for Layerscape-LX2160A family SoC. + // +-// Copyright 2018 NXP ++// Copyright 2018-2019 NXP + + #include + #include +@@ -500,7 +500,7 @@ + status = "disabled"; + }; + +- pcs_mdio1: mdio@0x8c07000 { ++ pcs_mdio1: mdio@8c07000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c07000 0x0 0x1000>; + device_type = "mdio"; +@@ -510,7 +510,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio2: mdio@0x8c0b000 { ++ pcs_mdio2: mdio@8c0b000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c0b000 0x0 0x1000>; + device_type = "mdio"; +@@ -520,7 +520,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio3: mdio@0x8c0f000 { ++ pcs_mdio3: mdio@8c0f000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c0f000 0x0 0x1000>; + device_type = "mdio"; +@@ -530,7 +530,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio4: mdio@0x8c13000 { ++ pcs_mdio4: mdio@8c13000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c13000 0x0 0x1000>; + device_type = "mdio"; +@@ -540,7 +540,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio5: mdio@0x8c17000 { ++ pcs_mdio5: mdio@8c17000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c17000 0x0 0x1000>; + device_type = "mdio"; +@@ -550,7 +550,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio6: mdio@0x8c1b000 { ++ pcs_mdio6: mdio@8c1b000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c1b000 0x0 0x1000>; + device_type = "mdio"; +@@ -560,7 +560,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio7: mdio@0x8c1f000 { ++ pcs_mdio7: mdio@8c1f000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c1f000 0x0 0x1000>; + device_type = "mdio"; +@@ -570,7 +570,7 @@ + #size-cells = <0>; + }; + +- pcs_mdio8: mdio@0x8c23000 { ++ pcs_mdio8: mdio@8c23000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c23000 0x0 0x1000>; + device_type = "mdio"; -- cgit v1.2.3