Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /dts-v1/;
- / {
- fragment@0 {
- target-path = [2f 00];
- __overlay__ {
- gpio-demo {
- compatible = "gpio-of-helper";
- pinctrl-names = "default";
- pinctrl-0 = <0x1>;
- button {
- gpio = <0xdeadbeef 0x2 0x1>;
- input;
- };
- reset-thing {
- gpio = <0xdeadbeef 0x3 0x1>;
- init-high;
- };
- input-bidi {
- gpio = <0xdeadbeef 0x5 0x0>;
- input;
- dir-changeable;
- };
- output-bidi {
- gpio = <0xdeadbeef 0x4 0x0>;
- init-low;
- dir-changeable;
- };
- };
- };
- };
- fragment@1 {
- target = <0xdeadbeef>;
- __overlay__ {
- gpio-demo {
- pinctrl-single,pins = <0x90 0x37 0x94 0x37 0x9c 0x37 0x98 0x37>;
- linux,phandle = <0x1>;
- phandle = <0x1>;
- };
- };
- };
- __symbols__ {
- gpio_demo_pins = "/fragment@1/__overlay__/gpio-demo";
- };
- __fixups__ {
- gpio2 = "/fragment@0/__overlay__/gpio-demo/button:gpio:0", "/fragment@0/__overlay__/gpio-demo/reset-thing:gpio:0", "/fragment@0/__overlay__/gpio-demo/input-bidi:gpio:0", "/fragment@0/__overlay__/gpio-demo/output-bidi:gpio:0";
- am33xx_pinmux = "/fragment@1:target:0";
- };
- __local_fixups__ {
- fixup = "/fragment@0/__overlay__/gpio-demo:pinctrl-0:0";
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement