xref: /linux/arch/mips/boot/dts/mscc/jaguar2_pcb118.dts (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1f84778f7SGregory CLEMENT// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2f84778f7SGregory CLEMENT/*
3f84778f7SGregory CLEMENT * Copyright (c) 2018 Microsemi Corporation
4f84778f7SGregory CLEMENT */
5f84778f7SGregory CLEMENT
6f84778f7SGregory CLEMENT/dts-v1/;
7f84778f7SGregory CLEMENT#include "jaguar2_common.dtsi"
8f84778f7SGregory CLEMENT
9f84778f7SGregory CLEMENT/ {
10f84778f7SGregory CLEMENT	model = "Jaguar2/Aquantia PCB118 Reference Board";
11f84778f7SGregory CLEMENT	compatible = "mscc,jr2-pcb118", "mscc,jr2";
12f84778f7SGregory CLEMENT
13f84778f7SGregory CLEMENT	aliases {
14f84778f7SGregory CLEMENT		i2c150  = &i2c150;
15f84778f7SGregory CLEMENT		i2c151  = &i2c151;
16f84778f7SGregory CLEMENT	};
17f84778f7SGregory CLEMENT
18f84778f7SGregory CLEMENT	i2c0_imux: i2c0-imux {
19f84778f7SGregory CLEMENT		compatible = "i2c-mux-pinctrl";
20f84778f7SGregory CLEMENT		#address-cells = <1>;
21f84778f7SGregory CLEMENT		#size-cells = <0>;
22f84778f7SGregory CLEMENT		i2c-parent = <&i2c0>;
23f84778f7SGregory CLEMENT		pinctrl-names =
24f84778f7SGregory CLEMENT			"i2c150", "i2c151", "idle";
25f84778f7SGregory CLEMENT		pinctrl-0 = <&i2cmux_0>;
26f84778f7SGregory CLEMENT		pinctrl-1 = <&i2cmux_1>;
27f84778f7SGregory CLEMENT		pinctrl-2 = <&i2cmux_pins_i>;
28f84778f7SGregory CLEMENT		i2c150: i2c@0 {
29f84778f7SGregory CLEMENT			reg = <0>;
30f84778f7SGregory CLEMENT			#address-cells = <1>;
31f84778f7SGregory CLEMENT			#size-cells = <0>;
32f84778f7SGregory CLEMENT		};
33f84778f7SGregory CLEMENT		i2c151: i2c@1 {
34f84778f7SGregory CLEMENT			reg = <1>;
35f84778f7SGregory CLEMENT			#address-cells = <1>;
36f84778f7SGregory CLEMENT			#size-cells = <0>;
37f84778f7SGregory CLEMENT		};
38f84778f7SGregory CLEMENT	};
39f84778f7SGregory CLEMENT};
40f84778f7SGregory CLEMENT
41f84778f7SGregory CLEMENT&gpio {
42*3949aaa6SMichael Walle	i2cmux_pins_i: i2cmux-pins {
43f84778f7SGregory CLEMENT		pins = "GPIO_17", "GPIO_16";
44f84778f7SGregory CLEMENT		function = "twi_scl_m";
45f84778f7SGregory CLEMENT		output-low;
46f84778f7SGregory CLEMENT	};
47*3949aaa6SMichael Walle	i2cmux_0: i2cmux-0-pins {
48f84778f7SGregory CLEMENT		pins = "GPIO_17";
49f84778f7SGregory CLEMENT		function = "twi_scl_m";
50f84778f7SGregory CLEMENT		output-high;
51f84778f7SGregory CLEMENT	};
52*3949aaa6SMichael Walle	i2cmux_1: i2cmux-1-pins {
53f84778f7SGregory CLEMENT		pins = "GPIO_16";
54f84778f7SGregory CLEMENT		function = "twi_scl_m";
55f84778f7SGregory CLEMENT		output-high;
56f84778f7SGregory CLEMENT	};
57f84778f7SGregory CLEMENT};
58