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 Cu48 PCB111 Reference Board"; 115def4c47SEmmanuel Vadot compatible = "mscc,jr2-pcb111", "mscc,jr2"; 125def4c47SEmmanuel Vadot 135def4c47SEmmanuel Vadot aliases { 145def4c47SEmmanuel Vadot i2c0 = &i2c0; 155def4c47SEmmanuel Vadot i2c149 = &i2c149; 165def4c47SEmmanuel Vadot i2c150 = &i2c150; 175def4c47SEmmanuel Vadot i2c151 = &i2c151; 185def4c47SEmmanuel Vadot i2c152 = &i2c152; 195def4c47SEmmanuel Vadot i2c203 = &i2c203; 205def4c47SEmmanuel Vadot }; 215def4c47SEmmanuel Vadot 225def4c47SEmmanuel Vadot i2c0_imux: i2c0-imux { 235def4c47SEmmanuel Vadot compatible = "i2c-mux-pinctrl"; 245def4c47SEmmanuel Vadot #address-cells = <1>; 255def4c47SEmmanuel Vadot #size-cells = <0>; 265def4c47SEmmanuel Vadot i2c-parent = <&i2c0>; 275def4c47SEmmanuel Vadot pinctrl-names = 285def4c47SEmmanuel Vadot "i2c149", "i2c150", "i2c151", "i2c152", "i2c203", "idle"; 295def4c47SEmmanuel Vadot pinctrl-0 = <&i2cmux_0>; 305def4c47SEmmanuel Vadot pinctrl-1 = <&i2cmux_1>; 315def4c47SEmmanuel Vadot pinctrl-2 = <&i2cmux_2>; 325def4c47SEmmanuel Vadot pinctrl-3 = <&i2cmux_3>; 335def4c47SEmmanuel Vadot pinctrl-4 = <&i2cmux_pins_i>; // Added by convention for PoE 345def4c47SEmmanuel Vadot pinctrl-5 = <&i2cmux_pins_i>; 355def4c47SEmmanuel Vadot i2c149: i2c@0 { 365def4c47SEmmanuel Vadot reg = <0x0>; 375def4c47SEmmanuel Vadot #address-cells = <1>; 385def4c47SEmmanuel Vadot #size-cells = <0>; 395def4c47SEmmanuel Vadot }; 405def4c47SEmmanuel Vadot i2c150: i2c@1 { 415def4c47SEmmanuel Vadot reg = <0x1>; 425def4c47SEmmanuel Vadot #address-cells = <1>; 435def4c47SEmmanuel Vadot #size-cells = <0>; 445def4c47SEmmanuel Vadot }; 455def4c47SEmmanuel Vadot i2c151: i2c@2 { 465def4c47SEmmanuel Vadot reg = <0x2>; 475def4c47SEmmanuel Vadot #address-cells = <1>; 485def4c47SEmmanuel Vadot #size-cells = <0>; 495def4c47SEmmanuel Vadot }; 505def4c47SEmmanuel Vadot i2c152: i2c@3 { 515def4c47SEmmanuel Vadot reg = <0x3>; 525def4c47SEmmanuel Vadot #address-cells = <1>; 535def4c47SEmmanuel Vadot #size-cells = <0>; 545def4c47SEmmanuel Vadot }; 555def4c47SEmmanuel Vadot i2c203: i2c@4 { 565def4c47SEmmanuel Vadot reg = <0x4>; 575def4c47SEmmanuel Vadot #address-cells = <1>; 585def4c47SEmmanuel Vadot #size-cells = <0>; 595def4c47SEmmanuel Vadot }; 605def4c47SEmmanuel Vadot }; 615def4c47SEmmanuel Vadot}; 625def4c47SEmmanuel Vadot 635def4c47SEmmanuel Vadot&gpio { 645def4c47SEmmanuel Vadot synce_builtin_pins: synce-builtin-pins { 655def4c47SEmmanuel Vadot // GPIO 49 == SI_nCS13 665def4c47SEmmanuel Vadot pins = "GPIO_49"; 675def4c47SEmmanuel Vadot function = "si"; 685def4c47SEmmanuel Vadot }; 695def4c47SEmmanuel Vadot cpld_pins: cpld-pins { 705def4c47SEmmanuel Vadot // GPIO 50 == SI_nCS14 715def4c47SEmmanuel Vadot pins = "GPIO_50"; 725def4c47SEmmanuel Vadot function = "si"; 735def4c47SEmmanuel Vadot }; 745def4c47SEmmanuel Vadot cpld_fifo_pins: synce-builtin-pins { 755def4c47SEmmanuel Vadot // GPIO 51 == SI_nCS15 765def4c47SEmmanuel Vadot pins = "GPIO_51"; 775def4c47SEmmanuel Vadot function = "si"; 785def4c47SEmmanuel Vadot }; 795def4c47SEmmanuel Vadot}; 805def4c47SEmmanuel Vadot 815def4c47SEmmanuel Vadot&gpio { 82*d5b0e70fSEmmanuel Vadot i2cmux_pins_i: i2cmux-pins { 835def4c47SEmmanuel Vadot pins = "GPIO_17", "GPIO_18"; 845def4c47SEmmanuel Vadot function = "twi_scl_m"; 855def4c47SEmmanuel Vadot output-low; 865def4c47SEmmanuel Vadot }; 87*d5b0e70fSEmmanuel Vadot i2cmux_0: i2cmux-0-pins { 885def4c47SEmmanuel Vadot pins = "GPIO_17"; 895def4c47SEmmanuel Vadot function = "twi_scl_m"; 905def4c47SEmmanuel Vadot output-high; 915def4c47SEmmanuel Vadot }; 92*d5b0e70fSEmmanuel Vadot i2cmux_1: i2cmux-1-pins { 935def4c47SEmmanuel Vadot pins = "GPIO_18"; 945def4c47SEmmanuel Vadot function = "twi_scl_m"; 955def4c47SEmmanuel Vadot output-high; 965def4c47SEmmanuel Vadot }; 97*d5b0e70fSEmmanuel Vadot i2cmux_2: i2cmux-2-pins { 985def4c47SEmmanuel Vadot pins = "GPIO_20"; 995def4c47SEmmanuel Vadot function = "twi_scl_m"; 1005def4c47SEmmanuel Vadot output-high; 1015def4c47SEmmanuel Vadot }; 102*d5b0e70fSEmmanuel Vadot i2cmux_3: i2cmux-3-pins { 1035def4c47SEmmanuel Vadot pins = "GPIO_21"; 1045def4c47SEmmanuel Vadot function = "twi_scl_m"; 1055def4c47SEmmanuel Vadot output-high; 1065def4c47SEmmanuel Vadot }; 1075def4c47SEmmanuel Vadot}; 108