Created
June 15, 2019 22:47
-
-
Save pranav083/263142be5e0480025b2f7cd2a78ed631 to your computer and use it in GitHub Desktop.
test for correctness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| debian@beaglebone:~$ more /lib/firmware/PRU-GPIO-EXAMPLE2.dts | |
| /dts-v1/; | |
| /plugin/; | |
| / { | |
| compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-green"; | |
| // identification | |
| part-number = "PRU-GPIO-EXAMPLE2"; | |
| version = "00A0"; | |
| // resources | |
| exclusive-use = | |
| "P8.11", | |
| "P8.13", | |
| "P8.12", | |
| "pru0", | |
| "P9.12", | |
| "P9.24", | |
| "pru1"; | |
| // pinmux | |
| fragment@0 { | |
| target = <&am33xx_pinmux>; | |
| __overlay__ { | |
| pinctrl_test: PRU-GPIO-EXAMPLE2-pins{ | |
| pinctrl-single,pins= < | |
| 0x078 0x07 /* p9_12 60 op m7 */ | |
| 0x184 0x2f /* p9_24 15 in m7 */ | |
| 0x034 0x37 /* p8_11 45 in m7 */ | |
| 0x030 0x27 /* p8_12 44 in m7 */ | |
| 0x024 0x2f /* p8_13 23 in m7 */ | |
| >; | |
| }; | |
| }; | |
| }; | |
| // PRU | |
| fragment@1 { | |
| target = <&ocp>; | |
| __overlay__ { | |
| test_helper: helper { | |
| compatible = "bone-pinmux-helper"; | |
| status = "okay"; | |
| pinctrl-names = "default", "gpio"; | |
| pinctrl-0 = <&pinctrl_test>; | |
| }; | |
| }; | |
| }; | |
| fragment@2 { | |
| target = <&pruss>; | |
| __overlay__ { | |
| status = "okay"; | |
| }; | |
| }; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment