mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
cd98593280
These are the BBB/PXF specific DTS files, fixed for the SPI pin handling
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/* SPI1 */
|
|
/* D0 Output and D1 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 0x33 /* mcasp0_aclkx.spi1_sclk, INPUT_PULLUP | MODE3 */
|
|
0x194 0x13 /* mcasp0_fsx.spi1_d0, OUTPUT_PULLUP | MODE3 */
|
|
0x198 0x33 /* mcasp0_axr0.spi1_d1, INPUT_PULLUP | MODE3 */
|
|
0x058 0x07 /* mcasp0_ahclkr.spi1_cs0, OUTPUT_PULLUP | MODE3 */
|
|
>;
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target = <&spi1>;
|
|
__overlay__ {
|
|
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&spi1_pins_s0>;
|
|
ti,pindir-d0-out-d1-in = <1>;
|
|
|
|
spidev@1 {
|
|
spi-max-frequency = <24000000>;
|
|
reg = <0>;
|
|
compatible = "linux,spidev";
|
|
};
|
|
};
|
|
};
|
|
};
|