[<<][am335x][>>][..]
Wed May 16 12:55:43 EDT 2018

DT

Trying some DT things.  Not getting what I expected..

# cat pinmux-pins  |grep hatd
pin 9 (PIN9): 4a300000.pruss (GPIO UNCLAIMED) function hatd_pru_pins group hatd_pru_pins

Will now use copy& paste like this:

&am33xx_pinmux {
        hatd_pru_pins: hatd_pru_pins {
                pinctrl-single,pins = <
                // Copied from am335-bone-common-universal-pins.dtsi
                // Can't figure out how else to just reference those definitions.
                0x0a0  0x27 // P8_45_pruout_pin  
                0x0a4  0x27 // P8_46_pruout_pin
                >;
        };
};

Which works:

# grep -re hatd *
pingroups:group: hatd_pru_pins
pinmux-functions:function: hatd_pru_pins, groups = [ hatd_pru_pins ]
pinmux-pins:pin 40 (PIN40): 4a300000.pruss (GPIO UNCLAIMED) function hatd_pru_pins group hatd_pru_pins
pinmux-pins:pin 41 (PIN41): 4a300000.pruss (GPIO UNCLAIMED) function hatd_pru_pins group hatd_pru_pins




[Reply][About]
[<<][am335x][>>][..]