lkml.org 
[lkml]   [2017]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/5] ARM64: dts: meson-axg: describe pin DT info for I2C controller
From
Date
On 17/11/2017 09:02, Yixun Lan wrote:
> From: Jian Hu <jian.hu@amlogic.com>
>
> Describe all the pin mux for the I2C controller which found in
> Meson-AXG SoC.
>
> Signed-off-by: Jian Hu <jian.hu@amlogic.com>
> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
> ---
> arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 64 ++++++++++++++++++++++++++++++
> 1 file changed, 64 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> index 99e967aff439..edbfd6022078 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> @@ -304,6 +304,70 @@
> function = "eth";
> };
> };
> +
> + i2c_m0_pins: i2c_m0 {
> + mux {
> + groups = "i2c_sck_m0",
> + "i2c_sda_m0";
> + function = "i2c_m0";
> + };
> + };
> +
> + i2c_m1_z_pins: i2c_m1_z {
> + mux {
> + groups = "i2c_sck_m1_z",
> + "i2c_sda_m1_z";
> + function = "i2c_m1";
> + };
> + };
> +
> + i2c_m1_x_pins: i2c_m1_x {
> + mux {
> + groups = "i2c_sck_m1_x",
> + "i2c_sda_m1_x";
> + function = "i2c_m1";
> + };
> + };
> +
> + i2c_m2_x_pins: i2c_m2_x {
> + mux {
> + groups = "i2c_sck_m2_x",
> + "i2c_sda_m2_x";
> + function = "i2c_m2";
> + };
> + };
> +
> + i2c_m2_a_pins: i2c_m2_a {
> + mux {
> + groups = "i2c_sck_m2_a",
> + "i2c_sda_m2_a";
> + function = "i2c_m2";
> + };
> + };
> +
> + i2c_m3_a6_pins: i2c_m3_a6 {
> + mux {
> + groups = "i2c_sda_m3_a6",
> + "i2c_sck_m3_a7";
> + function = "i2c_m3";
> + };
> + };
> +
> + i2c_m3_a12_pins: i2c_m3_a12 {
> + mux {
> + groups = "i2c_sda_m3_a12",
> + "i2c_sck_m3_a13";
> + function = "i2c_m3";
> + };
> + };
> +
> + i2c_m3_a19_pins: i2c_m3_a19 {
> + mux {
> + groups = "i2c_sda_m3_a19",
> + "i2c_sck_m3_a20";
> + function = "i2c_m3";
> + };
> + };
> };
> };
>
>

Same here fore the naming of the i2c nodes.

Neil

\
 
 \ /
  Last update: 2017-11-17 17:19    [W:0.088 / U:3.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site