blob: fe53d6cda4ce808bcad048b1795d79beb690d5c9 [file] [log] [blame]
Jan Kundrát27959d12019-08-07 14:04:40 +02001#include "am335x-boneblack.dts"
Jan Kundrátd0af3ae2017-03-31 14:49:09 +02002
3&am33xx_pinmux {
4 i2c1_pins: pinmux_i2c1_pins {
5 pinctrl-single,pins = <
6 AM33XX_IOPAD(0x958, SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE2) /* P9_18, I2C1_SDA */
7 AM33XX_IOPAD(0x95c, SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE2) /* P9_17, I2C1_SCL */
8 >;
9 };
10
11 i2c2_pins: pinmux_i2c2_pins {
12 pinctrl-single,pins = <
13 AM33XX_IOPAD(0x978, SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE3) /* P9_20, I2C2_SDA */
14 AM33XX_IOPAD(0x97c, SLEWCTRL_SLOW | PIN_INPUT_PULLUP | MUX_MODE3) /* P9_19, I2C2_SCL */
15 >;
16 };
17
18 uart1_pins: pinmux_uart1_pins {
19 pinctrl-single,pins = <
20 AM33XX_IOPAD(0x980, PIN_INPUT | MUX_MODE0) /* P9_26, uart1_rxd */
21 AM33XX_IOPAD(0x984, PIN_OUTPUT | MUX_MODE0) /* P9_24, uart1_txd */
22 >;
23 };
24
25 uart2_pins: pinmux_uart2_pins {
26 pinctrl-single,pins = <
27 AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1) /* P9_22, uart2_rxd */
28 AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1) /* P9_21, uart2_txd */
29 >;
30 };
31
32 /* UART3: mode 1, rx N/A, tx p9_42 -> not used */
33
34 uart4_pins: pinmux_uart4_pins {
35 pinctrl-single,pins = <
36 AM33XX_IOPAD(0x870, PIN_INPUT | MUX_MODE6) /* P9_11, uart4_rxd */
37 AM33XX_IOPAD(0x874, PIN_OUTPUT | MUX_MODE6) /* P9_13, uart4_txd */
38 >;
39 };
40
41 uart5_pins: pinmux_uart5_pins {
42 pinctrl-single,pins = <
43 AM33XX_IOPAD(0x8c4, PIN_INPUT | MUX_MODE4) /* P8_38, uart5_rxd */
44 AM33XX_IOPAD(0x8c0, PIN_OUTPUT | MUX_MODE4) /* P8_37, uart5_txd */
45 >;
46 };
47};
48
49&i2c1 {
50 pinctrl-names = "default";
51 pinctrl-0 = <&i2c1_pins>;
52 clock-frequency = <100000>;
53 status = "okay";
54};
55
56&i2c2 {
57 pinctrl-names = "default";
58 pinctrl-0 = <&i2c2_pins>;
59 clock-frequency = <100000>;
60 status = "okay";
61};
62
63&uart1 {
64 pinctrl-names = "default";
65 pinctrl-0 = <&uart1_pins>;
66 status = "okay";
67};
68
69&uart2 {
70 pinctrl-names = "default";
71 pinctrl-0 = <&uart2_pins>;
72 status = "okay";
73};
74
75&uart4 {
76 pinctrl-names = "default";
77 pinctrl-0 = <&uart4_pins>;
78 status = "okay";
79};
80
81&uart5 {
82 pinctrl-names = "default";
83 pinctrl-0 = <&uart5_pins>;
84 status = "okay";
85};
Jan Kundrát5a1f5f72017-04-20 13:56:59 +020086
87/delete-node/ &cape_eeprom0;
88/delete-node/ &cape_eeprom1;
89/delete-node/ &cape_eeprom2;
90/delete-node/ &cape_eeprom3;