On 10/18/26 18:40, E Shattow wrote:
> From: Aurelien Jarno <[email protected]>
>
> Define I2C2 pinctrl properties, and enable it on the K3 Pico-ITX board.
> It will be used by the 24c02 eeprom.
>
> Signed-off-by: Aurelien Jarno <[email protected]>
> Reviewed-by: Yixun Lan <[email protected]>
> Link: https://patch.msgid.link/[email protected]
> Signed-off-by: Yixun Lan <[email protected]>
>
> [ upstream commit: 48dd3d020528e05795dfa46308ba5b59a1835bba ]
>
> (cherry picked from commit 5b8d10184a9e7fb8b31d279e09e3673b8d69f690)
> ---
> dts/upstream/src/riscv/spacemit/k3-pico-itx.dts | 6 ++++++
> dts/upstream/src/riscv/spacemit/k3-pinctrl.dtsi | 11 +++++++++++
> 2 files changed, 17 insertions(+)
>
> diff --git a/dts/upstream/src/riscv/spacemit/k3-pico-itx.dts
> b/dts/upstream/src/riscv/spacemit/k3-pico-itx.dts
> index b89c1521e664..dde6028a5ef3 100644
> --- a/dts/upstream/src/riscv/spacemit/k3-pico-itx.dts
> +++ b/dts/upstream/src/riscv/spacemit/k3-pico-itx.dts
> @@ -43,6 +43,12 @@
> };
> };
>
> +&i2c2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&i2c2_1_cfg>;
> + status = "okay";
> +};
> +
> &i2c8 {
> pinctrl-names = "default";
> pinctrl-0 = <&i2c8_cfg>;
> diff --git a/dts/upstream/src/riscv/spacemit/k3-pinctrl.dtsi
> b/dts/upstream/src/riscv/spacemit/k3-pinctrl.dtsi
> index 3ee1471f3798..50dc124c097f 100644
> --- a/dts/upstream/src/riscv/spacemit/k3-pinctrl.dtsi
> +++ b/dts/upstream/src/riscv/spacemit/k3-pinctrl.dtsi
> @@ -78,6 +78,17 @@
> };
> };
>
> + /omit-if-no-ref/
> + i2c2_1_cfg: i2c2-1-cfg {
> + i2c2-1-pins {
> + pinmux = <K3_PADCONF(46, 5)>, /* i2c2 scl */
> + <K3_PADCONF(47, 5)>; /* i2c2 sda */
> +
> + bias-pull-up = <0>;
> + drive-strength = <25>;
> + };
> + };
> +
> /omit-if-no-ref/
> i2c8_cfg: i2c8-cfg {
> i2c8-pins {
Drop this patch that landed in u-boot dts subtree with
devicetree-rebasing v7.3
-E