aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2023-05-06 16:51:18 +0200
committerDavid Bauer <mail@david-bauer.net>2023-07-26 15:37:56 +0200
commit1face854a2fd8c79fc568877068cf9c608a6360e (patch)
tree30d6481109575f389b9f1d349b4b08664e28bc24 /target/linux/ipq40xx/files
parentee910d1e67c5ebba3bc2c136c8c6b5358a8c17b5 (diff)
downloadupstream-1face854a2fd8c79fc568877068cf9c608a6360e.tar.gz
upstream-1face854a2fd8c79fc568877068cf9c608a6360e.tar.bz2
upstream-1face854a2fd8c79fc568877068cf9c608a6360e.zip
ipq40xx: move Teltonika RUT STM32 IO to specific DTS
Prepare to re-use the DTS for the RUTX50. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit dbc4be142e206e681ac53afa3fd1e4018e7843b7)
Diffstat (limited to 'target/linux/ipq40xx/files')
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx.dtsi37
-rw-r--r--target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx10.dts37
2 files changed, 37 insertions, 37 deletions
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx.dtsi b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx.dtsi
index 230b62a94e..df9425b12a 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx.dtsi
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx.dtsi
@@ -44,43 +44,6 @@
linux,code = <KEY_RESTART>;
};
};
-
- gpio_export {
- compatible = "gpio-export";
- #size-cells = <0>;
-
- gpio_out {
- gpio-export,name = "gpio_out";
- gpio-export,output = <0>;
- gpio-export,direction_may_change = <0>;
- gpios = <&stm32_io 23 GPIO_ACTIVE_HIGH>;
- };
-
- gpio_in {
- gpio-export,name = "gpio_in";
- gpio-export,input = <0>;
- gpio-export,direction_may_change = <0>;
- gpios = <&stm32_io 24 GPIO_ACTIVE_LOW>;
- };
- };
- };
-};
-
-&blsp1_i2c3 {
- status = "okay";
- pinctrl-0 = <&i2c_0_pins>;
- pinctrl-names = "default";
- clock-frequency = <400000>;
-
- stm32_io: stm32@74 {
- compatible = "tlt,stm32v1";
- #gpio-cells = <2>;
- #interrupt-cells = <2>;
- gpio-controller;
- interrupt-controller;
- interrupt-parent = <&tlmm>;
- interrupts = <5 2>;
- reg = <0x74>;
};
};
diff --git a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx10.dts b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx10.dts
index 31d14aa6ae..8fc976a11b 100644
--- a/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx10.dts
+++ b/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rutx10.dts
@@ -22,6 +22,43 @@
linux,default-trigger = "phy1tpt";
};
};
+
+ gpio_export {
+ compatible = "gpio-export";
+ #size-cells = <0>;
+
+ gpio_out {
+ gpio-export,name = "gpio_out";
+ gpio-export,output = <0>;
+ gpio-export,direction_may_change = <0>;
+ gpios = <&stm32_io 23 GPIO_ACTIVE_HIGH>;
+ };
+
+ gpio_in {
+ gpio-export,name = "gpio_in";
+ gpio-export,input = <0>;
+ gpio-export,direction_may_change = <0>;
+ gpios = <&stm32_io 24 GPIO_ACTIVE_LOW>;
+ };
+ };
+ };
+};
+
+&blsp1_i2c3 {
+ status = "okay";
+ pinctrl-0 = <&i2c_0_pins>;
+ pinctrl-names = "default";
+ clock-frequency = <400000>;
+
+ stm32_io: stm32@74 {
+ compatible = "tlt,stm32v1";
+ #gpio-cells = <2>;
+ #interrupt-cells = <2>;
+ gpio-controller;
+ interrupt-controller;
+ interrupt-parent = <&tlmm>;
+ interrupts = <5 2>;
+ reg = <0x74>;
};
};