[linux-yocto] [PATCH] arm64: dts: stratix10: move dts node gpio_fpga into board specific dts file.
Meng.Li at windriver.com
Meng.Li at windriver.com
Wed Sep 26 18:43:52 PDT 2018
From: Limeng <Meng.Li at 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.Li at 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 at f9001080 {
- #address-cells = <1>;
- #size-cells = <0>;
- compatible = "snps,dw-apb-gpio";
- reg = <0xf9001080 0x4>;
- status = "disabled";
-
- portfpga: gpio-controller at 0 {
- compatible = "snps,dw-apb-gpio-port";
- gpio-controller;
- #gpio-cells = <2>;
- snps,nr-gpios = <8>;
- reg = <0>;
- };
- };
-
i2c0: i2c at 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 at f9001080 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "snps,dw-apb-gpio";
+ reg = <0xf9001080 0x4>;
+ status = "disabled";
+
+ portfpga: gpio-controller at 0 {
+ compatible = "snps,dw-apb-gpio-port";
+ gpio-controller;
+ #gpio-cells = <2>;
+ snps,nr-gpios = <8>;
+ reg = <0>;
+ };
+ };
};
};
--
2.7.4
More information about the linux-yocto
mailing list