[PATCH] arm: dts: xilinx: Remove undocumented is-dual property

Michal Simek michal.simek at amd.com
Mon Oct 9 12:13:14 CEST 2023



On 9/27/23 11:56, Michal Simek wrote:
> Xilinx was using in past is-dual property for QSPIs to reflect their
> configurations. But handling for them never reached upstream code that's
> why better to remove them.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/dts/zynq-cc108.dts                           | 1 -
>   arch/arm/dts/zynq-dlc20-rev1.0.dts                    | 1 -
>   arch/arm/dts/zynq-minized.dts                         | 1 -
>   arch/arm/dts/zynq-topic-miami.dts                     | 1 -
>   arch/arm/dts/zynq-topic-miamilite.dts                 | 1 -
>   arch/arm/dts/zynq-topic-miamiplus.dts                 | 1 -
>   arch/arm/dts/zynqmp-m-a2197-01-revA.dts               | 1 -
>   arch/arm/dts/zynqmp-m-a2197-02-revA.dts               | 1 -
>   arch/arm/dts/zynqmp-m-a2197-03-revA.dts               | 1 -
>   arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts | 2 --
>   arch/arm/dts/zynqmp-zcu102-revA.dts                   | 1 -
>   arch/arm/dts/zynqmp-zcu106-revA.dts                   | 1 -
>   arch/arm/dts/zynqmp-zcu111-revA.dts                   | 1 -
>   arch/arm/dts/zynqmp-zcu208-revA.dts                   | 1 -
>   arch/arm/dts/zynqmp-zcu216-revA.dts                   | 1 -
>   15 files changed, 16 deletions(-)
> 
> diff --git a/arch/arm/dts/zynq-cc108.dts b/arch/arm/dts/zynq-cc108.dts
> index dc942b0f595e..593ca4a49cf5 100644
> --- a/arch/arm/dts/zynq-cc108.dts
> +++ b/arch/arm/dts/zynq-cc108.dts
> @@ -55,7 +55,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <0>;
>   	num-cs = <1>;
>   	flash at 0 { /* 16 MB */
>   		compatible = "n25q128a11", "jedec,spi-nor";
> diff --git a/arch/arm/dts/zynq-dlc20-rev1.0.dts b/arch/arm/dts/zynq-dlc20-rev1.0.dts
> index d06838c5eeb3..8d0073780336 100644
> --- a/arch/arm/dts/zynq-dlc20-rev1.0.dts
> +++ b/arch/arm/dts/zynq-dlc20-rev1.0.dts
> @@ -66,7 +66,6 @@
>   &qspi {
>   	bootph-all;
>   	status = "okay";
> -	is-dual = <0>;
>   	num-cs = <1>;
>   	spi-tx-bus-width = <4>;
>   	spi-rx-bus-width = <4>;
> diff --git a/arch/arm/dts/zynq-minized.dts b/arch/arm/dts/zynq-minized.dts
> index 3214ee49e283..96d2937de8bf 100644
> --- a/arch/arm/dts/zynq-minized.dts
> +++ b/arch/arm/dts/zynq-minized.dts
> @@ -39,7 +39,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <0>;
>   	num-cs = <1>;
>   	flash at 0 {
>   		compatible = "micron,m25p128";
> diff --git a/arch/arm/dts/zynq-topic-miami.dts b/arch/arm/dts/zynq-topic-miami.dts
> index 57cb86aafd29..8307a2ef9dd3 100644
> --- a/arch/arm/dts/zynq-topic-miami.dts
> +++ b/arch/arm/dts/zynq-topic-miami.dts
> @@ -33,7 +33,6 @@
>   &qspi {
>   	bootph-all;
>   	status = "okay";
> -	is-dual = <0>;
>   	num-cs = <1>;
>   	flash at 0 {
>   		compatible = "st,m25p80", "n25q256a", "jedec,spi-nor";
> diff --git a/arch/arm/dts/zynq-topic-miamilite.dts b/arch/arm/dts/zynq-topic-miamilite.dts
> index 366fd5bbb100..af0bc7ecf700 100644
> --- a/arch/arm/dts/zynq-topic-miamilite.dts
> +++ b/arch/arm/dts/zynq-topic-miamilite.dts
> @@ -12,5 +12,4 @@
>   };
>   
>   &qspi {
> -	is-dual = <1>;
>   };
> diff --git a/arch/arm/dts/zynq-topic-miamiplus.dts b/arch/arm/dts/zynq-topic-miamiplus.dts
> index df538865296d..36a7db355e5b 100644
> --- a/arch/arm/dts/zynq-topic-miamiplus.dts
> +++ b/arch/arm/dts/zynq-topic-miamiplus.dts
> @@ -21,5 +21,4 @@
>   };
>   
>   &qspi {
> -	is-dual = <1>;
>   };
> diff --git a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
> index 2c3e30ba8916..cfd5ba1aac63 100644
> --- a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
> +++ b/arch/arm/dts/zynqmp-m-a2197-01-revA.dts
> @@ -71,7 +71,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <1>;
>   	flash at 0 {
>   		compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
>   		#address-cells = <1>;
> diff --git a/arch/arm/dts/zynqmp-m-a2197-02-revA.dts b/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
> index ad724a135872..18e14389f85f 100644
> --- a/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
> +++ b/arch/arm/dts/zynqmp-m-a2197-02-revA.dts
> @@ -67,7 +67,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <1>;
>   	flash at 0 {
>   		compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
>   		#address-cells = <1>;
> diff --git a/arch/arm/dts/zynqmp-m-a2197-03-revA.dts b/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
> index 296af0426ee2..cd7654a9f7ed 100644
> --- a/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
> +++ b/arch/arm/dts/zynqmp-m-a2197-03-revA.dts
> @@ -67,7 +67,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <1>;
>   	flash at 0 {
>   		compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
>   		#address-cells = <1>;
> diff --git a/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts b/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
> index 3750bb38b585..0d96c6f9f041 100644
> --- a/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
> +++ b/arch/arm/dts/zynqmp-topic-miamimp-xilinx-xdp-v1r1.dts
> @@ -56,7 +56,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <1>;
>   	flash at 0 {
>   		compatible = "st,m25p80", "n25q256a", "jedec,spi-nor";
>   		m25p,fast-read;
> @@ -66,7 +65,6 @@
>   		spi-max-frequency = <166000000>;
>   		#address-cells = <1>;
>   		#size-cells = <1>;
> -		is-dual = <1>;
>   		partition at 0 {
>   			label = "qspi-boot-bin";
>   			reg = <0x00000 0x60000>;
> diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts
> index be75ca6443d8..e166c9555069 100644
> --- a/arch/arm/dts/zynqmp-zcu102-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu102-revA.dts
> @@ -971,7 +971,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <1>;
>   	num-cs = <2>;
>   	flash at 0 {
>   		compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
> diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts
> index 6cae681dc29f..b90ff61d2416 100644
> --- a/arch/arm/dts/zynqmp-zcu106-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
> @@ -978,7 +978,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <1>;
>   	num-cs = <2>;
>   	flash at 0 {
>   		compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
> diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts b/arch/arm/dts/zynqmp-zcu111-revA.dts
> index d08865203ecf..ba9e4891fccc 100644
> --- a/arch/arm/dts/zynqmp-zcu111-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu111-revA.dts
> @@ -789,7 +789,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <1>;
>   	num-cs = <2>;
>   	flash at 0 {
>   		compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
> diff --git a/arch/arm/dts/zynqmp-zcu208-revA.dts b/arch/arm/dts/zynqmp-zcu208-revA.dts
> index 702888177a1f..d09e53f42fa8 100644
> --- a/arch/arm/dts/zynqmp-zcu208-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu208-revA.dts
> @@ -643,7 +643,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <1>;
>   	num-cs = <2>;
>   	flash at 0 {
>   		compatible = "m25p80", "jedec,spi-nor"; /* U11 and U12 MT25QU02GCBBE12 1Gb */
> diff --git a/arch/arm/dts/zynqmp-zcu216-revA.dts b/arch/arm/dts/zynqmp-zcu216-revA.dts
> index 989ac28c106b..fd026347c25f 100644
> --- a/arch/arm/dts/zynqmp-zcu216-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu216-revA.dts
> @@ -653,7 +653,6 @@
>   
>   &qspi {
>   	status = "okay";
> -	is-dual = <1>;
>   	num-cs = <2>;
>   	flash at 0 {
>   		compatible = "m25p80", "jedec,spi-nor"; /* U11 and U12 MT25QU02GCBBE12 1Gb */

Applied.
M


More information about the U-Boot mailing list