Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

am335x-bone: Add spi0 pins defines #4

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/am335x-bone-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
};

am3358_pinmux: pinmux@44e10800 {
spi0_pins: pinmux_spi0_pins {
pinctrl-single,pins = <
0x150 0x10 /* spi0_sclk.gpio0_2, OUTPUT_PULLUP | MODE0 */
0x154 0x30 /* spi0_d0.gpio0_3, INPUT_PULLUP | MODE0 */
0x158 0x10 /* spi0_d1.i2c1_sda, OUTPUT_PULLUP | MODE0 */
0x15c 0x10 /* spi0_cs0.i2c1_scl, OUTPUT_PULLUP | MODE0 */
>;
};
spi1_pins: pinmux_spi1_pins {
pinctrl-single,pins = <
0x190 0x13 /* mcasp0_aclkx.spi1_sclk, OUTPUT_PULLUP | MODE3 */
Expand Down Expand Up @@ -401,6 +409,11 @@
vmmc-supply = <&ldo3_reg>;
};

&spi0 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins>;
};

&spi1 {
pinctrl-names = "default";
pinctrl-0 = <&spi1_pins>;
Expand Down