/dts-v1/;
/plugin/;
/{
compatible = "ti,beaglebone", "ti,beaglebone-black";
part-number = "BB-AVRDUDE";
version = "00A0";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
ebb_example: BB-AVRDUDE {
pinctrl-single,pins = <
0x0E4 0x37 // P8_29, AVR #RST pin, Input Mode7 pullup
0x0D8 0x37 // P8_31, AVR #HWB pin, Input Mode7 pullup
/* INPUT GPIO(mode7) 0x27 pulldown, 0x37 pullup, 0x?f no pullup/down */
>;
};
};
};
fragment@1 {
target = <&ocp>;
__overlay__ {
gpio_helper {
compatible = "gpio-of-helper";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&ebb_example>;
};
};
};
}; 0: 54:PF---
1: 55:PF---
2: 56:PF---
3: 57:PF---
4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G
5: ff:P-O-- Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI
6: ff:P-O-- Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN
7: ff:P-O-L Override Board Name,00A0,Override Manuf,NEOSEC-TINYLCD22
8: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-BONE-KEYS
9: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-BONE-SPI1-2CS
10: ff:P-O-L Override Board Name,00A0,Override Manuf,am33xx_pwm
11: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-COOLER
12: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART5
13: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-BUZZER
14: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-W1
15: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-AVRDUDE
root@beaglebone:~# dmesg | grep BB-AVRDUDE
[ 151.732517] bone-capemgr bone_capemgr.9: part_number 'BB-AVRDUDE', version 'N/A'
[ 151.732633] bone-capemgr bone_capemgr.9: slot #15: 'Override Board Name,00A0,Override Manuf,BB-AVRDUDE'
[ 151.732729] bone-capemgr bone_capemgr.9: slot #15: Requesting part number/version based 'BB-AVRDUDE-00A0.dtbo
[ 151.732744] bone-capemgr bone_capemgr.9: slot #15: Requesting firmware 'BB-AVRDUDE-00A0.dtbo' for board-name 'Override Board Name', version '00A0'
[ 151.736445] bone-capemgr bone_capemgr.9: slot #15: dtbo 'BB-AVRDUDE-00A0.dtbo' loaded; converting to live tree
root@beaglebone:~# cat $PINS | grep "pin 57"
pin 57 (44e108e4) 00000027 pinctrl-single
root@beaglebone:~# cat $PINS | grep "pin 54"
pin 54 (44e108d8) 0000002f pinctrl-single
test_input1 {
gpio-name = "test_input1";
gpio = <&gpio3 23 0x00>; /* gpio4 is gpio3 */
input;
count-rising-edge;
count-falling-edge;
};
test_input2 {
gpio-name = "test_input2";
gpio = <&gpio1 10 0x00>; /* gpio4 is gpio3 */
input;
count-rising-edge;
count-falling-edge; };
....
fragment@1 {
target = <&ocp>;
__overlay__ {
gpio_helper {
compatible = "gpio-of-helper";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&ebb_example>;
};
}; };
...
Didnt know about this page, thabk you a lot :).
--
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.