On Tuesday, July 7, 2015 at 8:34:12 AM UTC-3, J Evans wrote:
>
>
> Can you share a complete copy of your DTS file?
>
> Thx.
>
>
Here you go. It's the same as the one here
<http://elinux.org/BeagleBone_Black_Enable_SPIDEV#SPI1_D1_Output_and_D0_Input>,
except for the 4 pinmux register values.
--
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].
For more options, visit https://groups.google.com/d/optout.
/dts-v1/;
/plugin/;
/* SPI1 */
/* D1 Output and D0 Input */
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black";
/* identification */
part-number = "spi1mux";
fragment@0 {
target = <&am33xx_pinmux>;
__overlay__ {
spi1_pins_s0: spi1_pins_s0 {
pinctrl-single,pins = <
0x190 0x2b /* mcasp0_aclkx.spi1_sclk,
RXACTIVE | Pull-down disabled | MODE3 */
0x194 0x33 /* mcasp0_fsx.spi1_d0,
INPUT_PULLUP | MODE3 */
0x198 0x1b /* mcasp0_axr0.spi1_d1, Pull-up
disabled | MODE3 */
0x19c 0x1b /* mcasp0_ahclkr.spi1_cs0,
Pull-up disabled | MODE3 */
>;
};
};
};
fragment@1 {
target = <&spi1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins_s0>;
spidev@1 {
spi-max-frequency = <24000000>;
reg = <0>;
compatible = "linux,spidev";
};
};
};
};