xref: /freebsd-src/sys/contrib/device-tree/src/mips/mscc/jaguar2_pcb118.dts (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
15def4c47SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
25def4c47SEmmanuel Vadot/*
35def4c47SEmmanuel Vadot * Copyright (c) 2018 Microsemi Corporation
45def4c47SEmmanuel Vadot */
55def4c47SEmmanuel Vadot
65def4c47SEmmanuel Vadot/dts-v1/;
75def4c47SEmmanuel Vadot#include "jaguar2_common.dtsi"
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadot/ {
105def4c47SEmmanuel Vadot	model = "Jaguar2/Aquantia PCB118 Reference Board";
115def4c47SEmmanuel Vadot	compatible = "mscc,jr2-pcb118", "mscc,jr2";
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel Vadot	aliases {
145def4c47SEmmanuel Vadot		i2c150  = &i2c150;
155def4c47SEmmanuel Vadot		i2c151  = &i2c151;
165def4c47SEmmanuel Vadot	};
175def4c47SEmmanuel Vadot
185def4c47SEmmanuel Vadot	i2c0_imux: i2c0-imux {
195def4c47SEmmanuel Vadot		compatible = "i2c-mux-pinctrl";
205def4c47SEmmanuel Vadot		#address-cells = <1>;
215def4c47SEmmanuel Vadot		#size-cells = <0>;
225def4c47SEmmanuel Vadot		i2c-parent = <&i2c0>;
235def4c47SEmmanuel Vadot		pinctrl-names =
245def4c47SEmmanuel Vadot			"i2c150", "i2c151", "idle";
255def4c47SEmmanuel Vadot		pinctrl-0 = <&i2cmux_0>;
265def4c47SEmmanuel Vadot		pinctrl-1 = <&i2cmux_1>;
275def4c47SEmmanuel Vadot		pinctrl-2 = <&i2cmux_pins_i>;
285def4c47SEmmanuel Vadot		i2c150: i2c@0 {
295def4c47SEmmanuel Vadot			reg = <0>;
305def4c47SEmmanuel Vadot			#address-cells = <1>;
315def4c47SEmmanuel Vadot			#size-cells = <0>;
325def4c47SEmmanuel Vadot		};
335def4c47SEmmanuel Vadot		i2c151: i2c@1 {
345def4c47SEmmanuel Vadot			reg = <1>;
355def4c47SEmmanuel Vadot			#address-cells = <1>;
365def4c47SEmmanuel Vadot			#size-cells = <0>;
375def4c47SEmmanuel Vadot		};
385def4c47SEmmanuel Vadot	};
395def4c47SEmmanuel Vadot};
405def4c47SEmmanuel Vadot
415def4c47SEmmanuel Vadot&gpio {
42*d5b0e70fSEmmanuel Vadot	i2cmux_pins_i: i2cmux-pins {
435def4c47SEmmanuel Vadot		pins = "GPIO_17", "GPIO_16";
445def4c47SEmmanuel Vadot		function = "twi_scl_m";
455def4c47SEmmanuel Vadot		output-low;
465def4c47SEmmanuel Vadot	};
47*d5b0e70fSEmmanuel Vadot	i2cmux_0: i2cmux-0-pins {
485def4c47SEmmanuel Vadot		pins = "GPIO_17";
495def4c47SEmmanuel Vadot		function = "twi_scl_m";
505def4c47SEmmanuel Vadot		output-high;
515def4c47SEmmanuel Vadot	};
52*d5b0e70fSEmmanuel Vadot	i2cmux_1: i2cmux-1-pins {
535def4c47SEmmanuel Vadot		pins = "GPIO_16";
545def4c47SEmmanuel Vadot		function = "twi_scl_m";
555def4c47SEmmanuel Vadot		output-high;
565def4c47SEmmanuel Vadot	};
575def4c47SEmmanuel Vadot};
58