Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* custom overlay
- * cd to /opt/source/bb.org-overlays
- * create file -> $ vi /src/arm/custom-00A0.dts
- * Copy and paste the content there
- * make it -> $ make src/arm/custom-00A0.dtbo
- * now install it -> $ cp src/arm/custom-00A0.dtbo /lib/firmware/
- * update /bot/uEnv.txt, add this to any addr*
- * reboot your board
- */
- /dts-v1/;
- /plugin/;
- #include <dt-bindings/gpio/gpio.h>
- #include <dt-bindings/pinctrl/am33xx.h>
- #include <dt-bindings/interrupt-controller/irq.h>
- /*
- * Helper to show loaded overlays under: /proc/device-tree/chosen/overlays/
- */
- &{/chosen} {
- overlays {
- custom-00A0 = __TIMESTAMP__;
- };
- };
- /*
- * Free up the pins used by the cape from the pinmux helpers.
- */
- &ocp {
- P2_32_pinmux { status = "disabled"; };
- };
- &am33xx_pinmux {
- custom_pins: pinmux_custom_pins {
- pinctrl-single,pins = <
- AM33XX_IOPAD(0x0998, PIN_INPUT_PULLDOWN | MUX_MODE6) /* mcasp0_axr0.pru0_in2 */
- >;
- };
- };
Add Comment
Please, Sign In to add comment