diff options
Diffstat (limited to 'linux/arch/arm/boot/dts/am335x-avtech.dtsi')
-rw-r--r-- | linux/arch/arm/boot/dts/am335x-avtech.dtsi | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/linux/arch/arm/boot/dts/am335x-avtech.dtsi b/linux/arch/arm/boot/dts/am335x-avtech.dtsi new file mode 100644 index 00000000..82f15332 --- /dev/null +++ b/linux/arch/arm/boot/dts/am335x-avtech.dtsi @@ -0,0 +1,56 @@ +&am33xx_pinmux { + avtech_pins: pinmux_avtech_pins { + pinctrl-single,pins = < + 0x7c (PIN_OUTPUT_PULLUP | MUX_MODE0) /* csn */ + 0x94 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* oen */ + 0x98 (PIN_OUTPUT_PULLUP | MUX_MODE0) /* wen */ + + 0x00 (INPUT_EN | MUX_MODE0) /* d0 */ + 0x04 (INPUT_EN | MUX_MODE0) /* d1 */ + 0x08 (INPUT_EN | MUX_MODE0) /* d2 */ + 0x0c (INPUT_EN | MUX_MODE0) /* d3 */ + 0x10 (INPUT_EN | MUX_MODE0) /* d4 */ + 0x14 (INPUT_EN | MUX_MODE0) /* d5 */ + 0x18 (INPUT_EN | MUX_MODE0) /* d6 */ + 0x1c (INPUT_EN | MUX_MODE0) /* d7 */ + 0xa0 (PIN_OUTPUT_PULLUP | MUX_MODE1) /* a0 */ + 0xa4 (PIN_OUTPUT_PULLUP | MUX_MODE1) /* a1 */ + 0xa8 (PIN_OUTPUT_PULLUP | MUX_MODE1) /* a2 */ + 0xac (PIN_OUTPUT_PULLUP | MUX_MODE1) /* a3 */ + 0xb0 (PIN_OUTPUT_PULLUP | MUX_MODE1) /* a4 */ + 0xb4 (PIN_OUTPUT_PULLUP | MUX_MODE1) /* a5 */ + 0xb8 (PIN_OUTPUT_PULLUP | MUX_MODE1) /* a6 */ + 0xbc (PIN_OUTPUT_PULLUP | MUX_MODE1) /* a7 */ + + 0x38 (PIN_OUTPUT | MUX_MODE7) /* OUT_RELAY */ + 0x28 (PIN_OUTPUT | MUX_MODE7) /* Load_Clock */ + 0x20 (PIN_OUTPUT | MUX_MODE7) /* Chain_Input */ + 0x3c (PIN_OUTPUT | MUX_MODE7) /* O.GATE */ + 0x24 (PIN_OUTPUT | MUX_MODE7) /* Shift_Clock */ + >; + }; + + uart5full_pins: pinmux_uart5full_pins { + pinctrl-single,pins = < + 0xc0 (PIN_OUTPUT | MUX_MODE4) /* txd */ + 0xc4 (PIN_INPUT_PULLUP | MUX_MODE4) /* rxd */ + 0xd8 (PIN_INPUT_PULLUP | MUX_MODE6) /* ctsn */ + 0xdc (PIN_OUTPUT | MUX_MODE6) /* rtsn */ + >; + }; +}; + +/ { + avtech { + compatible = "bone-pinmux-helper"; + pinctrl-names = "default"; + pinctrl-0 = <&avtech_pins>; + status = "okay"; + }; +}; + +&uart5 { + pinctrl-names = "default"; + pinctrl-0 = <&uart5full_pins>; + status = "okay"; +};
\ No newline at end of file |