Skip to content

Instantly share code, notes, and snippets.

@c-mauderer
Created December 21, 2019 09:34
Show Gist options
  • Save c-mauderer/86fd005f265c329c321e2dccc1032a6b to your computer and use it in GitHub Desktop.
Save c-mauderer/86fd005f265c329c321e2dccc1032a6b to your computer and use it in GitHub Desktop.
/dts-v1/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <0xffffffff>;
__overlay__ {
status = "disabled";
};
};
fragment@1 {
target = <0xffffffff>;
__overlay__ {
pinctrl-names = "default";
pinctrl-0 = <0xffffffff>;
status = "okay";
};
};
fragment@2 {
target = <0xffffffff>;
__overlay__ {
brcm,pins;
brcm,function;
brcm,pull;
};
};
fragment@3 {
target = <0xffffffff>;
__overlay__ {
brcm,pins;
brcm,function;
brcm,pull;
};
};
fragment@4 {
target-path = "/aliases";
__overlay__ {
serial0 = "/soc/serial@7e201000";
serial1 = "/soc/serial@7e215040";
};
};
__fixups__ {
uart1 = "/fragment@0:target:0";
uart0 = "/fragment@1:target:0";
uart0_pins = "/fragment@1/__overlay__:pinctrl-0:0\0/fragment@2:target:0";
bt_pins = "/fragment@3:target:0";
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment