ok that works I'll use the dtb-rebuilder.

I'm comparing against the BBB schematic for the pin numbers and need to 
understand how they are mapping to the pinmux pins in 
src/arm/am335x-bone-common.dtsi.  

For example, which BBB schematic pins are P9.19 and P2.20 on the BBB 
schematic since I need to check for any conflicts on our board for 
pinmuxing. I don't see a gpio9-19 or a gpio9-20 on the BBB rev-c schematic. 
I'm looking at document 450-5500-001 Rev C March 21, 2014.

config-pin P9.19 can 
config-pin P9.20 can 

+ cape-universal { 
+ compatible = "gpio-of-helper"; 
+ status = "okay"; 
+ pinctrl-names = "default"; 
+ pinctrl-0 = <>; 
+ 
+ P9_19 { 
+ gpio-name = "P9_19"; 
+ gpio = <&gpio0 13 0>; 
+ input; 
+ dir-changeable; 
+ }; 
+ 
+ P9_20 { 
+ gpio-name = "P9_20"; 
+ gpio = <&gpio0 12 0>; 
+ input; 
+ dir-changeable; 
+ }; 
+ 
+ };


On Monday, October 30, 2017 at 4:31:38 PM UTC-5, RobertCNelson wrote:
>
> On Mon, Oct 30, 2017 at 3:39 PM, Tracy Smith <[email protected] 
> <javascript:>> wrote: 
> > Thanks Robert this is great! Please let me know how it goes.  I need to 
> > pinmux different pins D18/D17 and E17/E18 for CAN1 and CAN2.  The CAN 
> pins 
> > are used for UART or other.  What is the pinmuxing file that should be 
> > modified for this? 
> > 
> > config-pin P9.24 can 
> > config-pin P9.26 can 
>
> Using the "latest" kernel builds from this last weekend.. 
>
> 4.4.91-ti-r135/4.4.91-ti-rt-r135 
> 4.9.59-ti-r73/4.9.59-ti-rt-r73 
> 4.14.0-rc7-ti-r6 
>
> 4.13.10-bone3/4.13.10-bone-rt-r3 
>
> Now support 
>
> config-pin P9.19 can 
> config-pin P9.20 can 
>
>
> On startup: 
>
>
> https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/doc/run_config-pin_during_startup.md
>  
>
> you can do: 
>
> #!/bin/bash 
>
> config-pin P9.19 can 
> config-pin P9.20 can 
>
> config-pin P9.24 can 
> config-pin P9.26 can 
>
>
> > I need to have everything in a build for a release and not only enabling 
> CAN 
> > on an existing boot.  So, any script based mods pulled from repos on a 
> > booted system, I need to add to the appropriate files for that release. 
> The 
> > pinmux in particular for the kernel. What is equivalent to the uboot 
> pinmux 
> > file for the 4.14 kernel? 
>
> So the other option, just hard code the can nodes, using dtb-rebuilder: 
>
> https://github.com/RobertCNelson/dtb-rebuilder 
>
> (pick a branch that matches your kernel) 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e7c35d23-215c-4ec4-a5a0-6477732a9353%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to