forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/am3517-som.dtsi
....@@ -1,11 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2016 Derald D. Woods <woods.technical@gmail.com>
34 *
45 * Based on am3517-evm.dts
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 */
107
118 / {
....@@ -72,6 +69,8 @@
7269 };
7370
7471 &i2c1 {
72
+ pinctrl-names = "default";
73
+ pinctrl-0 = <&i2c1_pins>;
7574 clock-frequency = <400000>;
7675
7776 s35390a: s35390a@30 {
....@@ -182,6 +181,13 @@
182181
183182 &omap3_pmx_core {
184183
184
+ i2c1_pins: pinmux_i2c1_pins {
185
+ pinctrl-single,pins = <
186
+ OMAP3_CORE1_IOPAD(0x21ba, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_scl */
187
+ OMAP3_CORE1_IOPAD(0x21bc, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c1_sda */
188
+ >;
189
+ };
190
+
185191 wl12xx_buffer_pins: pinmux_wl12xx_buffer_pins {
186192 pinctrl-single,pins = <
187193 OMAP3_CORE1_IOPAD(0x2156, PIN_OUTPUT | MUX_MODE4) /* mmc1_dat7.gpio_129 */