94 lines
2.5 KiB
Diff
94 lines
2.5 KiB
Diff
|
From 4904aa5abb49cded10945162524a4493acac535f Mon Sep 17 00:00:00 2001
|
||
|
From: Deokgyu Yang <secugyu@gmail.com>
|
||
|
Date: Thu, 29 Apr 2021 11:48:59 +0900
|
||
|
Subject: [PATCH 097/109] ODROID-N2: arm64/dts: Add overlays for pwm_cd, pwm_ef
|
||
|
|
||
|
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
|
||
|
Change-Id: Ie82fef5966107df46635c9538120e06b4a1c29a1
|
||
|
---
|
||
|
.../dts/amlogic/overlays/odroidn2/Makefile | 2 ++
|
||
|
.../dts/amlogic/overlays/odroidn2/pwm_cd.dts | 24 +++++++++++++++++++
|
||
|
.../dts/amlogic/overlays/odroidn2/pwm_ef.dts | 24 +++++++++++++++++++
|
||
|
3 files changed, 50 insertions(+)
|
||
|
create mode 100644 arch/arm64/boot/dts/amlogic/overlays/odroidn2/pwm_cd.dts
|
||
|
create mode 100644 arch/arm64/boot/dts/amlogic/overlays/odroidn2/pwm_ef.dts
|
||
|
|
||
|
diff --git a/arch/arm64/boot/dts/amlogic/overlays/odroidn2/Makefile b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/Makefile
|
||
|
index 44b24128d317..7b84252ec076 100644
|
||
|
--- a/arch/arm64/boot/dts/amlogic/overlays/odroidn2/Makefile
|
||
|
+++ b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/Makefile
|
||
|
@@ -3,6 +3,8 @@ dtbo-y += \
|
||
|
spi0.dtbo \
|
||
|
uart0.dtbo \
|
||
|
uart1.dtbo \
|
||
|
+ pwm_cd.dtbo \
|
||
|
+ pwm_ef.dtbo \
|
||
|
sx865x-i2c1.dtbo \
|
||
|
w1-gpio_p15.dtbo \
|
||
|
w1-gpio_p22.dtbo
|
||
|
diff --git a/arch/arm64/boot/dts/amlogic/overlays/odroidn2/pwm_cd.dts b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/pwm_cd.dts
|
||
|
new file mode 100644
|
||
|
index 000000000000..aadf685f131b
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/pwm_cd.dts
|
||
|
@@ -0,0 +1,24 @@
|
||
|
+/dts-v1/;
|
||
|
+/plugin/;
|
||
|
+
|
||
|
+/ {
|
||
|
+ fragment@0 {
|
||
|
+ target = <&pwm_cd>;
|
||
|
+
|
||
|
+ __overlay__ {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&pwm_c_x5_pins &pwm_d_x6_pins>;
|
||
|
+ pinctrl-1 = <&pwmcd_to_gpios>;
|
||
|
+ clocks = <&xtal>,
|
||
|
+ <&xtal>,
|
||
|
+ <&xtal>,
|
||
|
+ <&xtal>;
|
||
|
+ clock-names = "clkin0",
|
||
|
+ "clkin1",
|
||
|
+ "clkin2",
|
||
|
+ "clkin3";
|
||
|
+ };
|
||
|
+ };
|
||
|
+};
|
||
|
\ No newline at end of file
|
||
|
diff --git a/arch/arm64/boot/dts/amlogic/overlays/odroidn2/pwm_ef.dts b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/pwm_ef.dts
|
||
|
new file mode 100644
|
||
|
index 000000000000..b25d1c45d95f
|
||
|
--- /dev/null
|
||
|
+++ b/arch/arm64/boot/dts/amlogic/overlays/odroidn2/pwm_ef.dts
|
||
|
@@ -0,0 +1,24 @@
|
||
|
+/dts-v1/;
|
||
|
+/plugin/;
|
||
|
+
|
||
|
+/ {
|
||
|
+ fragment@0 {
|
||
|
+ target = <&pwm_ef>;
|
||
|
+
|
||
|
+ __overlay__ {
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&pwm_e_pins &pwm_f_x_pins>;
|
||
|
+ pinctrl-1 = <&pwmef_to_gpios>;
|
||
|
+ clocks = <&xtal>,
|
||
|
+ <&xtal>,
|
||
|
+ <&xtal>,
|
||
|
+ <&xtal>;
|
||
|
+ clock-names = "clkin0",
|
||
|
+ "clkin1",
|
||
|
+ "clkin2",
|
||
|
+ "clkin3";
|
||
|
+ };
|
||
|
+ };
|
||
|
+};
|
||
|
\ No newline at end of file
|
||
|
--
|
||
|
2.25.1
|
||
|
|