aboutsummaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-14 17:25:12 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-14 17:25:12 +0200
commitcfcf4b94f312eeb88e462f3eec88b932d672ef3d (patch)
tree798ffcc8d334e0623b6a9c9e3fcf287829387631 /dts
parent773e13be02f1f42c8ac578031282c9455be023bb (diff)
WIP char->platform driver
Diffstat (limited to 'dts')
-rw-r--r--dts/am335x-boneblack-uboot.dts8
1 files changed, 5 insertions, 3 deletions
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 <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/gpio/gpio.h> // 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>;
};
};