From: Limeng <meng...@windriver.com> The FPGA IO peripheral is only in specific FPGA design on Intel-PSG Stratix10 development board, and not all FPGA designs include FPGA IO. In addtional, this part of resource <0xf9001080 0x4> is able to be used for any peripheral.
Therefore, move the dts node gpio_fpga from header file socfpga_stratix10.dtsi into board specific dts file Signed-off-by: Meng Li <meng...@windriver.com> --- arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 16 ---------------- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi index 1cdd800..dd266d5 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi @@ -662,22 +662,6 @@ }; }; - gpio_fpga: gpio@f9001080 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,dw-apb-gpio"; - reg = <0xf9001080 0x4>; - status = "disabled"; - - portfpga: gpio-controller@0 { - compatible = "snps,dw-apb-gpio-port"; - gpio-controller; - #gpio-cells = <2>; - snps,nr-gpios = <8>; - reg = <0>; - }; - }; - i2c0: i2c@ffc02800 { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts index f6da74a..745e78c 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts @@ -67,6 +67,22 @@ }; }; }; + + gpio_fpga: gpio@f9001080 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dw-apb-gpio"; + reg = <0xf9001080 0x4>; + status = "disabled"; + + portfpga: gpio-controller@0 { + compatible = "snps,dw-apb-gpio-port"; + gpio-controller; + #gpio-cells = <2>; + snps,nr-gpios = <8>; + reg = <0>; + }; + }; }; }; -- 2.7.4 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto