|
| 1 | +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | +/* |
| 3 | + * Copyright 2024 NXP |
| 4 | + * |
| 5 | + * Authors: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> |
| 6 | + * Ghennadi Procopciuc <ghennadi.procopciuc@oss.nxp.com> |
| 7 | + * Larisa Grigore <larisa.grigore@nxp.com> |
| 8 | + */ |
| 9 | + |
| 10 | +&pinctrl { |
| 11 | + i2c0_pins: i2c0-pins { |
| 12 | + i2c0-grp0 { |
| 13 | + pinmux = <0x101>, <0x111>; |
| 14 | + drive-open-drain; |
| 15 | + output-enable; |
| 16 | + input-enable; |
| 17 | + slew-rate = <133>; |
| 18 | + }; |
| 19 | + |
| 20 | + i2c0-grp1 { |
| 21 | + pinmux = <0x2352>, <0x2362>; |
| 22 | + }; |
| 23 | + }; |
| 24 | + |
| 25 | + i2c0_gpio_pins: i2c0-gpio-pins { |
| 26 | + i2c0-gpio-grp0 { |
| 27 | + pinmux = <0x100>, <0x110>; |
| 28 | + drive-open-drain; |
| 29 | + output-enable; |
| 30 | + input-enable; |
| 31 | + slew-rate = <133>; |
| 32 | + }; |
| 33 | + |
| 34 | + i2c0-gpio-grp1 { |
| 35 | + pinmux = <0x2350>, <0x2360>; |
| 36 | + }; |
| 37 | + }; |
| 38 | + |
| 39 | + i2c1_pins: i2c1-pins { |
| 40 | + i2c1-grp0 { |
| 41 | + pinmux = <0x131>, <0x141>; |
| 42 | + drive-open-drain; |
| 43 | + output-enable; |
| 44 | + input-enable; |
| 45 | + slew-rate = <133>; |
| 46 | + }; |
| 47 | + |
| 48 | + i2c1-grp1 { |
| 49 | + pinmux = <0x2cd2>, <0x2ce2>; |
| 50 | + }; |
| 51 | + }; |
| 52 | + |
| 53 | + i2c1_gpio_pins: i2c1-gpio-pins { |
| 54 | + i2c1-gpio-grp0 { |
| 55 | + pinmux = <0x130>, <0x140>; |
| 56 | + drive-open-drain; |
| 57 | + output-enable; |
| 58 | + input-enable; |
| 59 | + slew-rate = <133>; |
| 60 | + }; |
| 61 | + |
| 62 | + i2c1-gpio-grp1 { |
| 63 | + pinmux = <0x2cd0>, <0x2ce0>; |
| 64 | + }; |
| 65 | + }; |
| 66 | + |
| 67 | + i2c2_pins: i2c2-pins { |
| 68 | + i2c2-grp0 { |
| 69 | + pinmux = <0x151>, <0x161>; |
| 70 | + drive-open-drain; |
| 71 | + output-enable; |
| 72 | + input-enable; |
| 73 | + slew-rate = <133>; |
| 74 | + }; |
| 75 | + |
| 76 | + i2c2-grp1 { |
| 77 | + pinmux = <0x2cf2>, <0x2d02>; |
| 78 | + }; |
| 79 | + }; |
| 80 | + |
| 81 | + i2c2_gpio_pins: i2c2-gpio-pins { |
| 82 | + i2c2-gpio-grp0 { |
| 83 | + pinmux = <0x150>, <0x160>; |
| 84 | + drive-open-drain; |
| 85 | + output-enable; |
| 86 | + input-enable; |
| 87 | + slew-rate = <133>; |
| 88 | + }; |
| 89 | + |
| 90 | + i2c2-gpio-grp1 { |
| 91 | + pinmux = <0x2cf0>, <0x2d00>; |
| 92 | + }; |
| 93 | + }; |
| 94 | + |
| 95 | + i2c4_pins: i2c4-pins { |
| 96 | + i2c4-grp0 { |
| 97 | + pinmux = <0x211>, <0x222>; |
| 98 | + drive-open-drain; |
| 99 | + output-enable; |
| 100 | + input-enable; |
| 101 | + slew-rate = <133>; |
| 102 | + }; |
| 103 | + |
| 104 | + i2c4-grp1 { |
| 105 | + pinmux = <0x2d43>, <0x2d33>; |
| 106 | + }; |
| 107 | + }; |
| 108 | + |
| 109 | + i2c4_gpio_pins: i2c4-gpio-pins { |
| 110 | + i2c4-gpio-grp0 { |
| 111 | + pinmux = <0x210>, <0x220>; |
| 112 | + drive-open-drain; |
| 113 | + output-enable; |
| 114 | + input-enable; |
| 115 | + slew-rate = <133>; |
| 116 | + }; |
| 117 | + |
| 118 | + i2c4-gpio-grp1 { |
| 119 | + pinmux = <0x2d40>, <0x2d30>; |
| 120 | + }; |
| 121 | + }; |
| 122 | +}; |
| 123 | + |
| 124 | +&i2c0 { |
| 125 | + pinctrl-names = "default", "gpio"; |
| 126 | + pinctrl-0 = <&i2c0_pins>; |
| 127 | + pinctrl-1 = <&i2c0_gpio_pins>; |
| 128 | + status = "okay"; |
| 129 | +}; |
| 130 | + |
| 131 | +&i2c1 { |
| 132 | + pinctrl-names = "default", "gpio"; |
| 133 | + pinctrl-0 = <&i2c1_pins>; |
| 134 | + pinctrl-1 = <&i2c1_gpio_pins>; |
| 135 | + status = "okay"; |
| 136 | +}; |
| 137 | + |
| 138 | +&i2c2 { |
| 139 | + pinctrl-names = "default", "gpio"; |
| 140 | + pinctrl-0 = <&i2c2_pins>; |
| 141 | + pinctrl-1 = <&i2c2_gpio_pins>; |
| 142 | + status = "okay"; |
| 143 | +}; |
| 144 | + |
| 145 | +&i2c4 { |
| 146 | + pinctrl-names = "default", "gpio"; |
| 147 | + pinctrl-0 = <&i2c4_pins>; |
| 148 | + pinctrl-1 = <&i2c4_gpio_pins>; |
| 149 | + status = "okay"; |
| 150 | +}; |
0 commit comments