1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2020 Microsemi Corporation 3 * Copyright (c) 2020 Microsemi Corporation 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include "jaguar2_common.dtsi" 7 #include "jaguar2_common.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/gpio/gpio.h> 9 9 10 / { 10 / { 11 model = "Jaguar2 Cu8-Sfp16 PCB110 Refe 11 model = "Jaguar2 Cu8-Sfp16 PCB110 Reference Board"; 12 compatible = "mscc,jr2-pcb110", "mscc, 12 compatible = "mscc,jr2-pcb110", "mscc,jr2"; 13 13 14 aliases { 14 aliases { 15 i2c0 = &i2c0; 15 i2c0 = &i2c0; 16 i2c108 = &i2c108; 16 i2c108 = &i2c108; 17 i2c109 = &i2c109; 17 i2c109 = &i2c109; 18 i2c110 = &i2c110; 18 i2c110 = &i2c110; 19 i2c111 = &i2c111; 19 i2c111 = &i2c111; 20 i2c112 = &i2c112; 20 i2c112 = &i2c112; 21 i2c113 = &i2c113; 21 i2c113 = &i2c113; 22 i2c114 = &i2c114; 22 i2c114 = &i2c114; 23 i2c115 = &i2c115; 23 i2c115 = &i2c115; 24 i2c116 = &i2c116; 24 i2c116 = &i2c116; 25 i2c117 = &i2c117; 25 i2c117 = &i2c117; 26 i2c118 = &i2c118; 26 i2c118 = &i2c118; 27 i2c119 = &i2c119; 27 i2c119 = &i2c119; 28 i2c120 = &i2c120; 28 i2c120 = &i2c120; 29 i2c121 = &i2c121; 29 i2c121 = &i2c121; 30 i2c122 = &i2c122; 30 i2c122 = &i2c122; 31 i2c123 = &i2c123; 31 i2c123 = &i2c123; 32 i2c124 = &i2c124; 32 i2c124 = &i2c124; 33 i2c125 = &i2c125; 33 i2c125 = &i2c125; 34 i2c126 = &i2c126; 34 i2c126 = &i2c126; 35 i2c127 = &i2c127; 35 i2c127 = &i2c127; 36 i2c128 = &i2c128; 36 i2c128 = &i2c128; 37 i2c129 = &i2c129; 37 i2c129 = &i2c129; 38 i2c130 = &i2c130; 38 i2c130 = &i2c130; 39 i2c131 = &i2c131; 39 i2c131 = &i2c131; 40 i2c149 = &i2c149; 40 i2c149 = &i2c149; 41 i2c150 = &i2c150; 41 i2c150 = &i2c150; 42 i2c151 = &i2c151; 42 i2c151 = &i2c151; 43 i2c152 = &i2c152; 43 i2c152 = &i2c152; 44 }; 44 }; 45 i2c0_imux: i2c0-imux { 45 i2c0_imux: i2c0-imux { 46 compatible = "i2c-mux-pinctrl" 46 compatible = "i2c-mux-pinctrl"; 47 #address-cells = <1>; 47 #address-cells = <1>; 48 #size-cells = <0>; 48 #size-cells = <0>; 49 i2c-parent = <&i2c0>; 49 i2c-parent = <&i2c0>; 50 pinctrl-names = 50 pinctrl-names = 51 "i2c149", "i2c150", "i 51 "i2c149", "i2c150", "i2c151", "i2c152", "idle"; 52 pinctrl-0 = <&i2cmux_0>; 52 pinctrl-0 = <&i2cmux_0>; 53 pinctrl-1 = <&i2cmux_1>; 53 pinctrl-1 = <&i2cmux_1>; 54 pinctrl-2 = <&i2cmux_2>; 54 pinctrl-2 = <&i2cmux_2>; 55 pinctrl-3 = <&i2cmux_3>; 55 pinctrl-3 = <&i2cmux_3>; 56 pinctrl-4 = <&i2cmux_pins_i>; 56 pinctrl-4 = <&i2cmux_pins_i>; 57 i2c149: i2c@0 { 57 i2c149: i2c@0 { 58 reg = <0x0>; 58 reg = <0x0>; 59 #address-cells = <1>; 59 #address-cells = <1>; 60 #size-cells = <0>; 60 #size-cells = <0>; 61 }; 61 }; 62 i2c150: i2c@1 { 62 i2c150: i2c@1 { 63 reg = <0x1>; 63 reg = <0x1>; 64 #address-cells = <1>; 64 #address-cells = <1>; 65 #size-cells = <0>; 65 #size-cells = <0>; 66 }; 66 }; 67 i2c151: i2c@2 { 67 i2c151: i2c@2 { 68 reg = <0x2>; 68 reg = <0x2>; 69 #address-cells = <1>; 69 #address-cells = <1>; 70 #size-cells = <0>; 70 #size-cells = <0>; 71 }; 71 }; 72 i2c152: i2c@3 { 72 i2c152: i2c@3 { 73 reg = <0x3>; 73 reg = <0x3>; 74 #address-cells = <1>; 74 #address-cells = <1>; 75 #size-cells = <0>; 75 #size-cells = <0>; 76 }; 76 }; 77 }; 77 }; 78 i2c0_emux: i2c0-emux { 78 i2c0_emux: i2c0-emux { 79 compatible = "i2c-mux-gpio"; 79 compatible = "i2c-mux-gpio"; 80 #address-cells = <1>; 80 #address-cells = <1>; 81 #size-cells = <0>; 81 #size-cells = <0>; 82 i2c-parent = <&i2c0>; 82 i2c-parent = <&i2c0>; 83 mux-gpios = <&gpio 51 GPIO_ACT 83 mux-gpios = <&gpio 51 GPIO_ACTIVE_HIGH 84 &gpio 52 GPIO_ACT 84 &gpio 52 GPIO_ACTIVE_HIGH 85 &gpio 53 GPIO_ACT 85 &gpio 53 GPIO_ACTIVE_HIGH 86 &gpio 58 GPIO_ACT 86 &gpio 58 GPIO_ACTIVE_HIGH 87 &gpio 59 GPIO_ACT 87 &gpio 59 GPIO_ACTIVE_HIGH>; 88 idle-state = <0x0>; 88 idle-state = <0x0>; 89 i2c108: i2c@10 { 89 i2c108: i2c@10 { 90 reg = <0x10>; 90 reg = <0x10>; 91 #address-cells = <1>; 91 #address-cells = <1>; 92 #size-cells = <0>; 92 #size-cells = <0>; 93 }; 93 }; 94 i2c109: i2c@11 { 94 i2c109: i2c@11 { 95 reg = <0x11>; 95 reg = <0x11>; 96 #address-cells = <1>; 96 #address-cells = <1>; 97 #size-cells = <0>; 97 #size-cells = <0>; 98 }; 98 }; 99 i2c110: i2c@12 { 99 i2c110: i2c@12 { 100 reg = <0x12>; 100 reg = <0x12>; 101 #address-cells = <1>; 101 #address-cells = <1>; 102 #size-cells = <0>; 102 #size-cells = <0>; 103 }; 103 }; 104 i2c111: i2c@13 { 104 i2c111: i2c@13 { 105 reg = <0x13>; 105 reg = <0x13>; 106 #address-cells = <1>; 106 #address-cells = <1>; 107 #size-cells = <0>; 107 #size-cells = <0>; 108 }; 108 }; 109 i2c112: i2c@14 { 109 i2c112: i2c@14 { 110 reg = <0x14>; 110 reg = <0x14>; 111 #address-cells = <1>; 111 #address-cells = <1>; 112 #size-cells = <0>; 112 #size-cells = <0>; 113 }; 113 }; 114 i2c113: i2c@15 { 114 i2c113: i2c@15 { 115 reg = <0x15>; 115 reg = <0x15>; 116 #address-cells = <1>; 116 #address-cells = <1>; 117 #size-cells = <0>; 117 #size-cells = <0>; 118 }; 118 }; 119 i2c114: i2c@16 { 119 i2c114: i2c@16 { 120 reg = <0x16>; 120 reg = <0x16>; 121 #address-cells = <1>; 121 #address-cells = <1>; 122 #size-cells = <0>; 122 #size-cells = <0>; 123 }; 123 }; 124 i2c115: i2c@17 { 124 i2c115: i2c@17 { 125 reg = <0x17>; 125 reg = <0x17>; 126 #address-cells = <1>; 126 #address-cells = <1>; 127 #size-cells = <0>; 127 #size-cells = <0>; 128 }; 128 }; 129 i2c116: i2c@8 { 129 i2c116: i2c@8 { 130 reg = <0x8>; 130 reg = <0x8>; 131 #address-cells = <1>; 131 #address-cells = <1>; 132 #size-cells = <0>; 132 #size-cells = <0>; 133 }; 133 }; 134 i2c117: i2c@9 { 134 i2c117: i2c@9 { 135 reg = <0x9>; 135 reg = <0x9>; 136 #address-cells = <1>; 136 #address-cells = <1>; 137 #size-cells = <0>; 137 #size-cells = <0>; 138 }; 138 }; 139 i2c118: i2c@a { 139 i2c118: i2c@a { 140 reg = <0xa>; 140 reg = <0xa>; 141 #address-cells = <1>; 141 #address-cells = <1>; 142 #size-cells = <0>; 142 #size-cells = <0>; 143 }; 143 }; 144 i2c119: i2c@b { 144 i2c119: i2c@b { 145 reg = <0xb>; 145 reg = <0xb>; 146 #address-cells = <1>; 146 #address-cells = <1>; 147 #size-cells = <0>; 147 #size-cells = <0>; 148 }; 148 }; 149 i2c120: i2c@c { 149 i2c120: i2c@c { 150 reg = <0xc>; 150 reg = <0xc>; 151 #address-cells = <1>; 151 #address-cells = <1>; 152 #size-cells = <0>; 152 #size-cells = <0>; 153 }; 153 }; 154 i2c121: i2c@d { 154 i2c121: i2c@d { 155 reg = <0xd>; 155 reg = <0xd>; 156 #address-cells = <1>; 156 #address-cells = <1>; 157 #size-cells = <0>; 157 #size-cells = <0>; 158 }; 158 }; 159 i2c122: i2c@e { 159 i2c122: i2c@e { 160 reg = <0xe>; 160 reg = <0xe>; 161 #address-cells = <1>; 161 #address-cells = <1>; 162 #size-cells = <0>; 162 #size-cells = <0>; 163 }; 163 }; 164 i2c123: i2c@f { 164 i2c123: i2c@f { 165 reg = <0xf>; 165 reg = <0xf>; 166 #address-cells = <1>; 166 #address-cells = <1>; 167 #size-cells = <0>; 167 #size-cells = <0>; 168 }; 168 }; 169 }; 169 }; 170 }; 170 }; 171 171 172 &gpio { 172 &gpio { 173 synce_pins: synce-pins { 173 synce_pins: synce-pins { 174 // GPIO 16 == SI_nCS1 174 // GPIO 16 == SI_nCS1 175 pins = "GPIO_16"; 175 pins = "GPIO_16"; 176 function = "si"; 176 function = "si"; 177 }; 177 }; 178 synce_builtin_pins: synce-builtin-pins 178 synce_builtin_pins: synce-builtin-pins { 179 // GPIO 49 == SI_nCS13 179 // GPIO 49 == SI_nCS13 180 pins = "GPIO_49"; 180 pins = "GPIO_49"; 181 function = "si"; 181 function = "si"; 182 }; 182 }; 183 i2cmux_pins_i: i2cmux-pins { 183 i2cmux_pins_i: i2cmux-pins { 184 pins = "GPIO_17", "GPIO_18", " 184 pins = "GPIO_17", "GPIO_18", "GPIO_20", "GPIO_21"; 185 function = "twi_scl_m"; 185 function = "twi_scl_m"; 186 output-low; 186 output-low; 187 }; 187 }; 188 i2cmux_0: i2cmux-0-pins { 188 i2cmux_0: i2cmux-0-pins { 189 pins = "GPIO_17"; 189 pins = "GPIO_17"; 190 function = "twi_scl_m"; 190 function = "twi_scl_m"; 191 output-high; 191 output-high; 192 }; 192 }; 193 i2cmux_1: i2cmux-1-pins { 193 i2cmux_1: i2cmux-1-pins { 194 pins = "GPIO_18"; 194 pins = "GPIO_18"; 195 function = "twi_scl_m"; 195 function = "twi_scl_m"; 196 output-high; 196 output-high; 197 }; 197 }; 198 i2cmux_2: i2cmux-2-pins { 198 i2cmux_2: i2cmux-2-pins { 199 pins = "GPIO_20"; 199 pins = "GPIO_20"; 200 function = "twi_scl_m"; 200 function = "twi_scl_m"; 201 output-high; 201 output-high; 202 }; 202 }; 203 i2cmux_3: i2cmux-3-pins { 203 i2cmux_3: i2cmux-3-pins { 204 pins = "GPIO_21"; 204 pins = "GPIO_21"; 205 function = "twi_scl_m"; 205 function = "twi_scl_m"; 206 output-high; 206 output-high; 207 }; 207 }; 208 }; 208 }; 209 209 210 &i2c0 { 210 &i2c0 { 211 i2c-mux@70 { 211 i2c-mux@70 { 212 compatible = "nxp,pca9545"; 212 compatible = "nxp,pca9545"; 213 reg = <0x70>; 213 reg = <0x70>; 214 #address-cells = <1>; 214 #address-cells = <1>; 215 #size-cells = <0>; 215 #size-cells = <0>; 216 i2c-mux-idle-disconnect; 216 i2c-mux-idle-disconnect; 217 i2c124: i2c@0 { 217 i2c124: i2c@0 { 218 #address-cells = <1>; 218 #address-cells = <1>; 219 #size-cells = <0>; 219 #size-cells = <0>; 220 reg = <0>; 220 reg = <0>; 221 }; 221 }; 222 i2c125: i2c@1 { 222 i2c125: i2c@1 { 223 /* FMC B */ 223 /* FMC B */ 224 #address-cells = <1>; 224 #address-cells = <1>; 225 #size-cells = <0>; 225 #size-cells = <0>; 226 reg = <1>; 226 reg = <1>; 227 }; 227 }; 228 i2c126: i2c@2 { 228 i2c126: i2c@2 { 229 #address-cells = <1>; 229 #address-cells = <1>; 230 #size-cells = <0>; 230 #size-cells = <0>; 231 reg = <2>; 231 reg = <2>; 232 }; 232 }; 233 i2c127: i2c@3 { 233 i2c127: i2c@3 { 234 #address-cells = <1>; 234 #address-cells = <1>; 235 #size-cells = <0>; 235 #size-cells = <0>; 236 reg = <3>; 236 reg = <3>; 237 }; 237 }; 238 }; 238 }; 239 i2c-mux@71 { 239 i2c-mux@71 { 240 compatible = "nxp,pca9545"; 240 compatible = "nxp,pca9545"; 241 reg = <0x71>; 241 reg = <0x71>; 242 #address-cells = <1>; 242 #address-cells = <1>; 243 #size-cells = <0>; 243 #size-cells = <0>; 244 i2c-mux-idle-disconnect; 244 i2c-mux-idle-disconnect; 245 i2c128: i2c@0 { 245 i2c128: i2c@0 { 246 #address-cells = <1>; 246 #address-cells = <1>; 247 #size-cells = <0>; 247 #size-cells = <0>; 248 reg = <0>; 248 reg = <0>; 249 }; 249 }; 250 i2c129: i2c@1 { 250 i2c129: i2c@1 { 251 /* FMC B */ 251 /* FMC B */ 252 #address-cells = <1>; 252 #address-cells = <1>; 253 #size-cells = <0>; 253 #size-cells = <0>; 254 reg = <1>; 254 reg = <1>; 255 }; 255 }; 256 i2c130: i2c@2 { 256 i2c130: i2c@2 { 257 #address-cells = <1>; 257 #address-cells = <1>; 258 #size-cells = <0>; 258 #size-cells = <0>; 259 reg = <2>; 259 reg = <2>; 260 }; 260 }; 261 i2c131: i2c@3 { 261 i2c131: i2c@3 { 262 #address-cells = <1>; 262 #address-cells = <1>; 263 #size-cells = <0>; 263 #size-cells = <0>; 264 reg = <3>; 264 reg = <3>; 265 }; 265 }; 266 }; 266 }; 267 }; 267 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.