Skip to content

Commit 743c8af

Browse files
committed
ODROID-C4: arm64/dts: add PPS support over gpio pin #7
Requested and tested by https://forum.odroid.com/viewtopic.php?p=386053#p386053 Change-Id: I7b58904f4caddca0c664896a4bfeaf84762b6b83 Signed-off-by: Dongjin Kim <tobetter@gmail.com>
1 parent b217bb3 commit 743c8af

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

arch/arm64/boot/dts/amlogic/overlays/odroidc4/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ dtbo-$(CONFIG_ARCH_MESON64_ODROIDC4) += spi0.dtbo \
2020
esp8089.dtbo \
2121
sdio.dtbo \
2222
fanspeed-full.dtbo \
23+
pps-gpio_p7.dtbo \
2324
pps-gpio_p11.dtbo \
2425
pps-gpio_p12.dtbo \
2526
pwm_ab.dtbo \
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/dts-v1/;
2+
/plugin/;
3+
4+
#include <dt-bindings/gpio/meson-g12a-gpio.h>
5+
#include <dt-bindings/gpio/gpio.h>
6+
7+
/ {
8+
fragment@0 {
9+
target-path = "/";
10+
11+
__overlay__ {
12+
pps: pps {
13+
compatible = "pps-gpio";
14+
gpios = <&gpio GPIOX_5 GPIO_ACTIVE_HIGH>;
15+
status = "okay";
16+
};
17+
};
18+
};
19+
};

0 commit comments

Comments
 (0)