1// SPDX-License-Identifier: GPL-2.0 OR MIT 2/* 3 * Copyright (c) 2024 Yixun Lan <[email protected]> 4 */ 5 6#include <dt-bindings/gpio/gpio.h> 7 8#define K1_PADCONF(pin, func) (((pin) << 16) | (func)) 9 10&pinctrl { 11 uart0_2_cfg: uart0-2-cfg { 12 uart0-2-pins { 13 pinmux = <K1_PADCONF(68, 2)>, 14 <K1_PADCONF(69, 2)>; 15 16 bias-pull-up = <0>; 17 drive-strength = <32>; 18 }; 19 }; 20}; 21