1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2018 Microsemi Corporation 3 * Copyright (c) 2018 Microsemi Corporation 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include "jaguar2_common.dtsi" 7 #include "jaguar2_common.dtsi" 8 8 9 / { 9 / { 10 model = "Jaguar2/Aquantia PCB118 Refer 10 model = "Jaguar2/Aquantia PCB118 Reference Board"; 11 compatible = "mscc,jr2-pcb118", "mscc, 11 compatible = "mscc,jr2-pcb118", "mscc,jr2"; 12 12 13 aliases { 13 aliases { 14 i2c150 = &i2c150; 14 i2c150 = &i2c150; 15 i2c151 = &i2c151; 15 i2c151 = &i2c151; 16 }; 16 }; 17 17 18 i2c0_imux: i2c0-imux { 18 i2c0_imux: i2c0-imux { 19 compatible = "i2c-mux-pinctrl" 19 compatible = "i2c-mux-pinctrl"; 20 #address-cells = <1>; 20 #address-cells = <1>; 21 #size-cells = <0>; 21 #size-cells = <0>; 22 i2c-parent = <&i2c0>; 22 i2c-parent = <&i2c0>; 23 pinctrl-names = 23 pinctrl-names = 24 "i2c150", "i2c151", "i 24 "i2c150", "i2c151", "idle"; 25 pinctrl-0 = <&i2cmux_0>; 25 pinctrl-0 = <&i2cmux_0>; 26 pinctrl-1 = <&i2cmux_1>; 26 pinctrl-1 = <&i2cmux_1>; 27 pinctrl-2 = <&i2cmux_pins_i>; 27 pinctrl-2 = <&i2cmux_pins_i>; 28 i2c150: i2c@0 { 28 i2c150: i2c@0 { 29 reg = <0>; 29 reg = <0>; 30 #address-cells = <1>; 30 #address-cells = <1>; 31 #size-cells = <0>; 31 #size-cells = <0>; 32 }; 32 }; 33 i2c151: i2c@1 { 33 i2c151: i2c@1 { 34 reg = <1>; 34 reg = <1>; 35 #address-cells = <1>; 35 #address-cells = <1>; 36 #size-cells = <0>; 36 #size-cells = <0>; 37 }; 37 }; 38 }; 38 }; 39 }; 39 }; 40 40 41 &gpio { 41 &gpio { 42 i2cmux_pins_i: i2cmux-pins { 42 i2cmux_pins_i: i2cmux-pins { 43 pins = "GPIO_17", "GPIO_16"; 43 pins = "GPIO_17", "GPIO_16"; 44 function = "twi_scl_m"; 44 function = "twi_scl_m"; 45 output-low; 45 output-low; 46 }; 46 }; 47 i2cmux_0: i2cmux-0-pins { 47 i2cmux_0: i2cmux-0-pins { 48 pins = "GPIO_17"; 48 pins = "GPIO_17"; 49 function = "twi_scl_m"; 49 function = "twi_scl_m"; 50 output-high; 50 output-high; 51 }; 51 }; 52 i2cmux_1: i2cmux-1-pins { 52 i2cmux_1: i2cmux-1-pins { 53 pins = "GPIO_16"; 53 pins = "GPIO_16"; 54 function = "twi_scl_m"; 54 function = "twi_scl_m"; 55 output-high; 55 output-high; 56 }; 56 }; 57 }; 57 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.