From cfcf4b94f312eeb88e462f3eec88b932d672ef3d Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 14 May 2024 17:25:12 +0200 Subject: WIP char->platform driver --- dts/am335x-boneblack-uboot.dts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'dts') diff --git a/dts/am335x-boneblack-uboot.dts b/dts/am335x-boneblack-uboot.dts index 8d140c0..e02de51 100644 --- a/dts/am335x-boneblack-uboot.dts +++ b/dts/am335x-boneblack-uboot.dts @@ -1,4 +1,4 @@ -#include +#include // GPIO_ACTIVE_HIGH /dts-v1/; @@ -3893,9 +3893,11 @@ vmmcsd_fixed = "/fixedregulator0"; }; - led_extern { + // this section is visible at runtime under + // /sys/firmware/devicetree/base/lork + lork { compatible = "gpio-extern"; - label = "lork-gpio"; + // label = "lork-gpio"; gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; }; }; -- cgit v1.2.3