Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'aspeed-5.9-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed into arm/dt

ASPEED device tree updates for 5.9

There is one new machine; AMD's EthanolX reference platform with an
AST2600 BMC.

Misc updates for Rainier, Tacoma, Wedge and Mihawk machines.

* tag 'aspeed-5.9-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed: (26 commits)
ARM: dts: Aspeed: tacoma: Enable EHCI controller
ARM: dts: aspeed: rainier: Enable EHCI controller
ARM: dts: aspeed: rainier: Switch OCCs to P10
ARM: dts: aspeed: rainier: Add FSI I2C masters
ARM: dts: aspeed: rainier: Add CFAM SPI controllers
ARM: dts: aspeed: rainier: Add I2C buses for NVMe use
ARM: dts: aspeed: Initial device tree for AMD EthanolX
ARM: dts: rainier: Describe GPIO mux on I2C3
ARM: dts: aspeed: wedge40: Enable pwm_tacho device
ARM: dts: aspeed: wedge40: Enable ADC device
ARM: dts: aspeed: wedge40: Disable unused i2c controllers
ARM: dts: aspeed: cmm: Fixup I2C tree
ARM: dts: aspeed: tacoma: Add CFAM reset GPIO
ARM: dts: aspeed: rainier: Add CFAM reset GPIO
ARM: dts: aspeed: tacoma: Fix gpio-key definitions
ARM: dts: rainier: Configure ball Y23 as GPIOP7 for MCLR_VPP
ARM: dts: aspeed: rainier: Add second cfam on the hub
ARM: dts: aspeed: rainier: Add line-name checkstop
ARM: dts: aspeed: tacoma: Remove checkstop gpio-key
ARM: dts: aspeed: tacoma: Enable XDMA engine
...

Link: https://lore.kernel.org/r/CACPK8Xf_Np7LtcDFhywi6Uk1EgUpb0pVVa+Lr9YEwBRjbjOKCQ@mail.gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+2123 -102
+1
arch/arm/boot/dts/Makefile
··· 1359 1359 dtb-$(CONFIG_ARCH_ASPEED) += \ 1360 1360 aspeed-ast2500-evb.dtb \ 1361 1361 aspeed-ast2600-evb.dtb \ 1362 + aspeed-bmc-amd-ethanolx.dtb \ 1362 1363 aspeed-bmc-arm-centriq2400-rep.dtb \ 1363 1364 aspeed-bmc-arm-stardragon4800-rep2.dtb \ 1364 1365 aspeed-bmc-facebook-cmm.dtb \
+219
arch/arm/boot/dts/aspeed-bmc-amd-ethanolx.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + // Copyright (c) 2020 AMD Inc. 3 + // Author: Supreeth Venkatesh <supreeth.venkatesh@amd.com> 4 + /dts-v1/; 5 + 6 + #include "aspeed-g5.dtsi" 7 + #include <dt-bindings/gpio/aspeed-gpio.h> 8 + 9 + / { 10 + model = "AMD EthanolX BMC"; 11 + compatible = "amd,ethanolx-bmc", "aspeed,ast2500"; 12 + 13 + memory@80000000 { 14 + reg = <0x80000000 0x20000000>; 15 + }; 16 + aliases { 17 + serial0 = &uart1; 18 + serial4 = &uart5; 19 + }; 20 + chosen { 21 + stdout-path = &uart5; 22 + bootargs = "console=ttyS4,115200 earlyprintk"; 23 + }; 24 + leds { 25 + compatible = "gpio-leds"; 26 + 27 + fault { 28 + gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>; 29 + }; 30 + 31 + identify { 32 + gpios = <&gpio ASPEED_GPIO(A, 3) GPIO_ACTIVE_LOW>; 33 + }; 34 + }; 35 + iio-hwmon { 36 + compatible = "iio-hwmon"; 37 + io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>; 38 + }; 39 + }; 40 + 41 + &fmc { 42 + status = "okay"; 43 + flash@0 { 44 + status = "okay"; 45 + m25p,fast-read; 46 + #include "openbmc-flash-layout.dtsi" 47 + }; 48 + }; 49 + 50 + 51 + &mac0 { 52 + status = "okay"; 53 + 54 + pinctrl-names = "default"; 55 + pinctrl-0 = <&pinctrl_rmii1_default>; 56 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 57 + <&syscon ASPEED_CLK_MAC1RCLK>; 58 + clock-names = "MACCLK", "RCLK"; 59 + }; 60 + 61 + &uart1 { 62 + //Host Console 63 + status = "okay"; 64 + pinctrl-names = "default"; 65 + pinctrl-0 = <&pinctrl_txd1_default 66 + &pinctrl_rxd1_default>; 67 + }; 68 + 69 + &uart5 { 70 + //BMC Console 71 + status = "okay"; 72 + }; 73 + 74 + &adc { 75 + status = "okay"; 76 + 77 + pinctrl-names = "default"; 78 + pinctrl-0 = <&pinctrl_adc0_default 79 + &pinctrl_adc1_default 80 + &pinctrl_adc2_default 81 + &pinctrl_adc3_default 82 + &pinctrl_adc4_default>; 83 + }; 84 + 85 + //APML for P0 86 + &i2c0 { 87 + status = "okay"; 88 + }; 89 + 90 + //APML for P1 91 + &i2c1 { 92 + status = "okay"; 93 + }; 94 + 95 + // Thermal Sensors 96 + &i2c7 { 97 + status = "okay"; 98 + 99 + lm75a@48 { 100 + compatible = "national,lm75a"; 101 + reg = <0x48>; 102 + }; 103 + 104 + lm75a@49 { 105 + compatible = "national,lm75a"; 106 + reg = <0x49>; 107 + }; 108 + 109 + lm75a@4a { 110 + compatible = "national,lm75a"; 111 + reg = <0x4a>; 112 + }; 113 + 114 + lm75a@4b { 115 + compatible = "national,lm75a"; 116 + reg = <0x4b>; 117 + }; 118 + 119 + lm75a@4c { 120 + compatible = "national,lm75a"; 121 + reg = <0x4c>; 122 + }; 123 + 124 + lm75a@4d { 125 + compatible = "national,lm75a"; 126 + reg = <0x4d>; 127 + }; 128 + 129 + lm75a@4e { 130 + compatible = "national,lm75a"; 131 + reg = <0x4e>; 132 + }; 133 + 134 + lm75a@4f { 135 + compatible = "national,lm75a"; 136 + reg = <0x4f>; 137 + }; 138 + }; 139 + 140 + &kcs1 { 141 + status = "okay"; 142 + kcs_addr = <0x60>; 143 + }; 144 + 145 + &kcs2 { 146 + status = "okay"; 147 + kcs_addr = <0x62>; 148 + }; 149 + 150 + &kcs4 { 151 + status = "okay"; 152 + kcs_addr = <0x97DE>; 153 + }; 154 + 155 + &lpc_snoop { 156 + status = "okay"; 157 + snoop-ports = <0x80>; 158 + }; 159 + 160 + &lpc_ctrl { 161 + //Enable lpc clock 162 + status = "okay"; 163 + }; 164 + 165 + &pwm_tacho { 166 + status = "okay"; 167 + pinctrl-names = "default"; 168 + pinctrl-0 = <&pinctrl_pwm0_default 169 + &pinctrl_pwm1_default 170 + &pinctrl_pwm2_default 171 + &pinctrl_pwm3_default 172 + &pinctrl_pwm4_default 173 + &pinctrl_pwm5_default 174 + &pinctrl_pwm6_default 175 + &pinctrl_pwm7_default>; 176 + 177 + fan@0 { 178 + reg = <0x00>; 179 + aspeed,fan-tach-ch = /bits/ 8 <0x00>; 180 + }; 181 + 182 + fan@1 { 183 + reg = <0x01>; 184 + aspeed,fan-tach-ch = /bits/ 8 <0x01>; 185 + }; 186 + 187 + fan@2 { 188 + reg = <0x02>; 189 + aspeed,fan-tach-ch = /bits/ 8 <0x02>; 190 + }; 191 + 192 + fan@3 { 193 + reg = <0x03>; 194 + aspeed,fan-tach-ch = /bits/ 8 <0x03>; 195 + }; 196 + 197 + fan@4 { 198 + reg = <0x04>; 199 + aspeed,fan-tach-ch = /bits/ 8 <0x04>; 200 + }; 201 + 202 + fan@5 { 203 + reg = <0x05>; 204 + aspeed,fan-tach-ch = /bits/ 8 <0x05>; 205 + }; 206 + 207 + fan@6 { 208 + reg = <0x06>; 209 + aspeed,fan-tach-ch = /bits/ 8 <0x06>; 210 + }; 211 + 212 + fan@7 { 213 + reg = <0x07>; 214 + aspeed,fan-tach-ch = /bits/ 8 <0x07>; 215 + }; 216 + }; 217 + 218 + 219 +
+1228 -3
arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
··· 19 19 serial3 = &uart4; 20 20 21 21 /* 22 - * Hardcode the bus number of i2c switches' channels to 23 - * avoid breaking the legacy applications. 22 + * PCA9548 (1-0077) provides 8 channels for connecting to 23 + * 4 Line Cards and 4 Fabric Cards. 24 24 */ 25 25 i2c16 = &imux16; 26 26 i2c17 = &imux17; ··· 30 30 i2c21 = &imux21; 31 31 i2c22 = &imux22; 32 32 i2c23 = &imux23; 33 + 34 + /* 35 + * PCA9548 (2-0071) provides 8 channels for connecting to 36 + * Power Distribution Board. 37 + */ 33 38 i2c24 = &imux24; 34 39 i2c25 = &imux25; 35 40 i2c26 = &imux26; ··· 43 38 i2c29 = &imux29; 44 39 i2c30 = &imux30; 45 40 i2c31 = &imux31; 41 + 42 + /* 43 + * PCA9548 (8-0077) provides 8 channels and the first 4 44 + * channels are connecting to 4 Fan Control Boards. 45 + */ 46 46 i2c32 = &imux32; 47 47 i2c33 = &imux33; 48 48 i2c34 = &imux34; ··· 56 46 i2c37 = &imux37; 57 47 i2c38 = &imux38; 58 48 i2c39 = &imux39; 49 + 50 + /* 51 + * 2 PCA9548 (18-0070 & 18-0073), 16 channels connecting 52 + * to Line Card #1. 53 + */ 54 + i2c40 = &imux40; 55 + i2c41 = &imux41; 56 + i2c42 = &imux42; 57 + i2c43 = &imux43; 58 + i2c44 = &imux44; 59 + i2c45 = &imux45; 60 + i2c46 = &imux46; 61 + i2c47 = &imux47; 62 + i2c48 = &imux48; 63 + i2c49 = &imux49; 64 + i2c50 = &imux50; 65 + i2c51 = &imux51; 66 + i2c52 = &imux52; 67 + i2c53 = &imux53; 68 + i2c54 = &imux54; 69 + i2c55 = &imux55; 70 + 71 + /* 72 + * 2 PCA9548 (19-0070 & 19-0073), 16 channels connecting 73 + * to Line Card #2. 74 + */ 75 + i2c56 = &imux56; 76 + i2c57 = &imux57; 77 + i2c58 = &imux58; 78 + i2c59 = &imux59; 79 + i2c60 = &imux60; 80 + i2c61 = &imux61; 81 + i2c62 = &imux62; 82 + i2c63 = &imux63; 83 + i2c64 = &imux64; 84 + i2c65 = &imux65; 85 + i2c66 = &imux66; 86 + i2c67 = &imux67; 87 + i2c68 = &imux68; 88 + i2c69 = &imux69; 89 + i2c70 = &imux70; 90 + i2c71 = &imux71; 91 + 92 + /* 93 + * 2 PCA9548 (20-0070 & 20-0073), 16 channels connecting 94 + * to Line Card #3. 95 + */ 96 + i2c72 = &imux72; 97 + i2c73 = &imux73; 98 + i2c74 = &imux74; 99 + i2c75 = &imux75; 100 + i2c76 = &imux76; 101 + i2c77 = &imux77; 102 + i2c78 = &imux78; 103 + i2c79 = &imux79; 104 + i2c80 = &imux80; 105 + i2c81 = &imux81; 106 + i2c82 = &imux82; 107 + i2c83 = &imux83; 108 + i2c84 = &imux84; 109 + i2c85 = &imux85; 110 + i2c86 = &imux86; 111 + i2c87 = &imux87; 112 + 113 + /* 114 + * 2 PCA9548 (21-0070 & 21-0073), 16 channels connecting 115 + * to Line Card #4. 116 + */ 117 + i2c88 = &imux88; 118 + i2c89 = &imux89; 119 + i2c90 = &imux90; 120 + i2c91 = &imux91; 121 + i2c92 = &imux92; 122 + i2c93 = &imux93; 123 + i2c94 = &imux94; 124 + i2c95 = &imux95; 125 + i2c96 = &imux96; 126 + i2c97 = &imux97; 127 + i2c98 = &imux98; 128 + i2c99 = &imux99; 129 + i2c100 = &imux100; 130 + i2c101 = &imux101; 131 + i2c102 = &imux102; 132 + i2c103 = &imux103; 133 + 134 + /* 135 + * 2 PCA9548 (16-0070 & 16-0073), 16 channels connecting 136 + * to Fabric Card #1. 137 + */ 138 + i2c104 = &imux104; 139 + i2c105 = &imux105; 140 + i2c106 = &imux106; 141 + i2c107 = &imux107; 142 + i2c108 = &imux108; 143 + i2c109 = &imux109; 144 + i2c110 = &imux110; 145 + i2c111 = &imux111; 146 + i2c112 = &imux112; 147 + i2c113 = &imux113; 148 + i2c114 = &imux114; 149 + i2c115 = &imux115; 150 + i2c116 = &imux116; 151 + i2c117 = &imux117; 152 + i2c118 = &imux118; 153 + i2c119 = &imux119; 154 + 155 + /* 156 + * 2 PCA9548 (17-0070 & 17-0073), 16 channels connecting 157 + * to Fabric Card #2. 158 + */ 159 + i2c120 = &imux120; 160 + i2c121 = &imux121; 161 + i2c122 = &imux122; 162 + i2c123 = &imux123; 163 + i2c124 = &imux124; 164 + i2c125 = &imux125; 165 + i2c126 = &imux126; 166 + i2c127 = &imux127; 167 + i2c128 = &imux128; 168 + i2c129 = &imux129; 169 + i2c130 = &imux130; 170 + i2c131 = &imux131; 171 + i2c132 = &imux132; 172 + i2c133 = &imux133; 173 + i2c134 = &imux134; 174 + i2c135 = &imux135; 175 + 176 + /* 177 + * 2 PCA9548 (22-0070 & 22-0073), 16 channels connecting 178 + * to Fabric Card #3. 179 + */ 180 + i2c136 = &imux136; 181 + i2c137 = &imux137; 182 + i2c138 = &imux138; 183 + i2c139 = &imux139; 184 + i2c140 = &imux140; 185 + i2c141 = &imux141; 186 + i2c142 = &imux142; 187 + i2c143 = &imux143; 188 + i2c144 = &imux144; 189 + i2c145 = &imux145; 190 + i2c146 = &imux146; 191 + i2c147 = &imux147; 192 + i2c148 = &imux148; 193 + i2c149 = &imux149; 194 + i2c150 = &imux150; 195 + i2c151 = &imux151; 196 + 197 + /* 198 + * 2 PCA9548 (23-0070 & 23-0073), 16 channels connecting 199 + * to Fabric Card #4. 200 + */ 201 + i2c152 = &imux152; 202 + i2c153 = &imux153; 203 + i2c154 = &imux154; 204 + i2c155 = &imux155; 205 + i2c156 = &imux156; 206 + i2c157 = &imux157; 207 + i2c158 = &imux158; 208 + i2c159 = &imux159; 209 + i2c160 = &imux160; 210 + i2c161 = &imux161; 211 + i2c162 = &imux162; 212 + i2c163 = &imux163; 213 + i2c164 = &imux164; 214 + i2c165 = &imux165; 215 + i2c166 = &imux166; 216 + i2c167 = &imux167; 217 + 218 + /* 219 + * PCA9548 (32-0070), 8 channels connecting to Fan Control 220 + # Board #1. 221 + */ 222 + i2c168 = &imux168; 223 + i2c169 = &imux169; 224 + i2c170 = &imux170; 225 + i2c171 = &imux171; 226 + i2c172 = &imux172; 227 + i2c173 = &imux173; 228 + i2c174 = &imux174; 229 + i2c175 = &imux175; 230 + 231 + /* 232 + * PCA9548 (33-0070), 8 channels connecting to Fan Control 233 + # Board #2. 234 + */ 235 + i2c176 = &imux176; 236 + i2c177 = &imux177; 237 + i2c178 = &imux178; 238 + i2c179 = &imux179; 239 + i2c180 = &imux180; 240 + i2c181 = &imux181; 241 + i2c182 = &imux182; 242 + i2c183 = &imux183; 243 + 244 + /* 245 + * PCA9548 (34-0070), 8 channels connecting to Fan Control 246 + # Board #3. 247 + */ 248 + i2c184 = &imux184; 249 + i2c185 = &imux185; 250 + i2c186 = &imux186; 251 + i2c187 = &imux187; 252 + i2c188 = &imux188; 253 + i2c189 = &imux189; 254 + i2c190 = &imux190; 255 + i2c191 = &imux191; 256 + 257 + /* 258 + * PCA9548 (35-0070), 8 channels connecting to Fan Control 259 + # Board #4. 260 + */ 261 + i2c192 = &imux192; 262 + i2c193 = &imux193; 263 + i2c194 = &imux194; 264 + i2c195 = &imux195; 265 + i2c196 = &imux196; 266 + i2c197 = &imux197; 267 + i2c198 = &imux198; 268 + i2c199 = &imux199; 59 269 }; 60 270 61 271 chosen { ··· 333 103 #address-cells = <1>; 334 104 #size-cells = <0>; 335 105 reg = <0x77>; 106 + i2c-mux-idle-disconnect; 336 107 108 + /* To Fabric Card #1 */ 337 109 imux16: i2c@0 { 338 110 #address-cells = <1>; 339 111 #size-cells = <0>; 340 112 reg = <0>; 113 + 114 + i2c-switch@70 { 115 + compatible = "nxp,pca9548"; 116 + #address-cells = <1>; 117 + #size-cells = <0>; 118 + reg = <0x70>; 119 + i2c-mux-idle-disconnect; 120 + 121 + imux104: i2c@0 { 122 + #address-cells = <1>; 123 + #size-cells = <0>; 124 + reg = <0>; 125 + }; 126 + imux105: i2c@1 { 127 + #address-cells = <1>; 128 + #size-cells = <0>; 129 + reg = <1>; 130 + }; 131 + imux106: i2c@2 { 132 + #address-cells = <1>; 133 + #size-cells = <0>; 134 + reg = <2>; 135 + }; 136 + imux107: i2c@3 { 137 + #address-cells = <1>; 138 + #size-cells = <0>; 139 + reg = <3>; 140 + }; 141 + imux108: i2c@4 { 142 + #address-cells = <1>; 143 + #size-cells = <0>; 144 + reg = <4>; 145 + }; 146 + imux109: i2c@5 { 147 + #address-cells = <1>; 148 + #size-cells = <0>; 149 + reg = <5>; 150 + }; 151 + imux110: i2c@6 { 152 + #address-cells = <1>; 153 + #size-cells = <0>; 154 + reg = <6>; 155 + }; 156 + imux111: i2c@7 { 157 + #address-cells = <1>; 158 + #size-cells = <0>; 159 + reg = <7>; 160 + }; 161 + }; 162 + 163 + i2c-switch@73 { 164 + compatible = "nxp,pca9548"; 165 + #address-cells = <1>; 166 + #size-cells = <0>; 167 + reg = <0x73>; 168 + i2c-mux-idle-disconnect; 169 + 170 + imux112: i2c@0 { 171 + #address-cells = <1>; 172 + #size-cells = <0>; 173 + reg = <0>; 174 + }; 175 + imux113: i2c@1 { 176 + #address-cells = <1>; 177 + #size-cells = <0>; 178 + reg = <1>; 179 + }; 180 + imux114: i2c@2 { 181 + #address-cells = <1>; 182 + #size-cells = <0>; 183 + reg = <2>; 184 + }; 185 + imux115: i2c@3 { 186 + #address-cells = <1>; 187 + #size-cells = <0>; 188 + reg = <3>; 189 + }; 190 + imux116: i2c@4 { 191 + #address-cells = <1>; 192 + #size-cells = <0>; 193 + reg = <4>; 194 + }; 195 + imux117: i2c@5 { 196 + #address-cells = <1>; 197 + #size-cells = <0>; 198 + reg = <5>; 199 + }; 200 + imux118: i2c@6 { 201 + #address-cells = <1>; 202 + #size-cells = <0>; 203 + reg = <6>; 204 + }; 205 + imux119: i2c@7 { 206 + #address-cells = <1>; 207 + #size-cells = <0>; 208 + reg = <7>; 209 + }; 210 + }; 341 211 }; 342 212 213 + /* To Fabric Card #2 */ 343 214 imux17: i2c@1 { 344 215 #address-cells = <1>; 345 216 #size-cells = <0>; 346 217 reg = <1>; 218 + 219 + i2c-switch@70 { 220 + compatible = "nxp,pca9548"; 221 + #address-cells = <1>; 222 + #size-cells = <0>; 223 + reg = <0x70>; 224 + i2c-mux-idle-disconnect; 225 + 226 + imux120: i2c@0 { 227 + #address-cells = <1>; 228 + #size-cells = <0>; 229 + reg = <0>; 230 + }; 231 + imux121: i2c@1 { 232 + #address-cells = <1>; 233 + #size-cells = <0>; 234 + reg = <1>; 235 + }; 236 + imux122: i2c@2 { 237 + #address-cells = <1>; 238 + #size-cells = <0>; 239 + reg = <2>; 240 + }; 241 + imux123: i2c@3 { 242 + #address-cells = <1>; 243 + #size-cells = <0>; 244 + reg = <3>; 245 + }; 246 + imux124: i2c@4 { 247 + #address-cells = <1>; 248 + #size-cells = <0>; 249 + reg = <4>; 250 + }; 251 + imux125: i2c@5 { 252 + #address-cells = <1>; 253 + #size-cells = <0>; 254 + reg = <5>; 255 + }; 256 + imux126: i2c@6 { 257 + #address-cells = <1>; 258 + #size-cells = <0>; 259 + reg = <6>; 260 + }; 261 + imux127: i2c@7 { 262 + #address-cells = <1>; 263 + #size-cells = <0>; 264 + reg = <7>; 265 + }; 266 + }; 267 + 268 + i2c-switch@73 { 269 + compatible = "nxp,pca9548"; 270 + #address-cells = <1>; 271 + #size-cells = <0>; 272 + reg = <0x73>; 273 + i2c-mux-idle-disconnect; 274 + 275 + imux128: i2c@0 { 276 + #address-cells = <1>; 277 + #size-cells = <0>; 278 + reg = <0>; 279 + }; 280 + imux129: i2c@1 { 281 + #address-cells = <1>; 282 + #size-cells = <0>; 283 + reg = <1>; 284 + }; 285 + imux130: i2c@2 { 286 + #address-cells = <1>; 287 + #size-cells = <0>; 288 + reg = <2>; 289 + }; 290 + imux131: i2c@3 { 291 + #address-cells = <1>; 292 + #size-cells = <0>; 293 + reg = <3>; 294 + }; 295 + imux132: i2c@4 { 296 + #address-cells = <1>; 297 + #size-cells = <0>; 298 + reg = <4>; 299 + }; 300 + imux133: i2c@5 { 301 + #address-cells = <1>; 302 + #size-cells = <0>; 303 + reg = <5>; 304 + }; 305 + imux134: i2c@6 { 306 + #address-cells = <1>; 307 + #size-cells = <0>; 308 + reg = <6>; 309 + }; 310 + imux135: i2c@7 { 311 + #address-cells = <1>; 312 + #size-cells = <0>; 313 + reg = <7>; 314 + }; 315 + }; 347 316 }; 348 317 318 + /* To Line Card #1 */ 349 319 imux18: i2c@2 { 350 320 #address-cells = <1>; 351 321 #size-cells = <0>; 352 322 reg = <2>; 323 + 324 + i2c-switch@70 { 325 + compatible = "nxp,pca9548"; 326 + #address-cells = <1>; 327 + #size-cells = <0>; 328 + reg = <0x70>; 329 + i2c-mux-idle-disconnect; 330 + 331 + imux40: i2c@0 { 332 + #address-cells = <1>; 333 + #size-cells = <0>; 334 + reg = <0>; 335 + }; 336 + imux41: i2c@1 { 337 + #address-cells = <1>; 338 + #size-cells = <0>; 339 + reg = <1>; 340 + }; 341 + imux42: i2c@2 { 342 + #address-cells = <1>; 343 + #size-cells = <0>; 344 + reg = <2>; 345 + }; 346 + imux43: i2c@3 { 347 + #address-cells = <1>; 348 + #size-cells = <0>; 349 + reg = <3>; 350 + }; 351 + imux44: i2c@4 { 352 + #address-cells = <1>; 353 + #size-cells = <0>; 354 + reg = <4>; 355 + }; 356 + imux45: i2c@5 { 357 + #address-cells = <1>; 358 + #size-cells = <0>; 359 + reg = <5>; 360 + }; 361 + imux46: i2c@6 { 362 + #address-cells = <1>; 363 + #size-cells = <0>; 364 + reg = <6>; 365 + }; 366 + imux47: i2c@7 { 367 + #address-cells = <1>; 368 + #size-cells = <0>; 369 + reg = <7>; 370 + }; 371 + }; 372 + 373 + i2c-switch@73 { 374 + compatible = "nxp,pca9548"; 375 + #address-cells = <1>; 376 + #size-cells = <0>; 377 + reg = <0x73>; 378 + i2c-mux-idle-disconnect; 379 + 380 + imux48: i2c@0 { 381 + #address-cells = <1>; 382 + #size-cells = <0>; 383 + reg = <0>; 384 + }; 385 + imux49: i2c@1 { 386 + #address-cells = <1>; 387 + #size-cells = <0>; 388 + reg = <1>; 389 + }; 390 + imux50: i2c@2 { 391 + #address-cells = <1>; 392 + #size-cells = <0>; 393 + reg = <2>; 394 + }; 395 + imux51: i2c@3 { 396 + #address-cells = <1>; 397 + #size-cells = <0>; 398 + reg = <3>; 399 + }; 400 + imux52: i2c@4 { 401 + #address-cells = <1>; 402 + #size-cells = <0>; 403 + reg = <4>; 404 + }; 405 + imux53: i2c@5 { 406 + #address-cells = <1>; 407 + #size-cells = <0>; 408 + reg = <5>; 409 + }; 410 + imux54: i2c@6 { 411 + #address-cells = <1>; 412 + #size-cells = <0>; 413 + reg = <6>; 414 + }; 415 + imux55: i2c@7 { 416 + #address-cells = <1>; 417 + #size-cells = <0>; 418 + reg = <7>; 419 + }; 420 + }; 353 421 }; 354 422 423 + /* To Line Card #2 */ 355 424 imux19: i2c@3 { 356 425 #address-cells = <1>; 357 426 #size-cells = <0>; 358 427 reg = <3>; 428 + 429 + i2c-switch@70 { 430 + compatible = "nxp,pca9548"; 431 + #address-cells = <1>; 432 + #size-cells = <0>; 433 + reg = <0x70>; 434 + i2c-mux-idle-disconnect; 435 + 436 + imux56: i2c@0 { 437 + #address-cells = <1>; 438 + #size-cells = <0>; 439 + reg = <0>; 440 + }; 441 + imux57: i2c@1 { 442 + #address-cells = <1>; 443 + #size-cells = <0>; 444 + reg = <1>; 445 + }; 446 + imux58: i2c@2 { 447 + #address-cells = <1>; 448 + #size-cells = <0>; 449 + reg = <2>; 450 + }; 451 + imux59: i2c@3 { 452 + #address-cells = <1>; 453 + #size-cells = <0>; 454 + reg = <3>; 455 + }; 456 + imux60: i2c@4 { 457 + #address-cells = <1>; 458 + #size-cells = <0>; 459 + reg = <4>; 460 + }; 461 + imux61: i2c@5 { 462 + #address-cells = <1>; 463 + #size-cells = <0>; 464 + reg = <5>; 465 + }; 466 + imux62: i2c@6 { 467 + #address-cells = <1>; 468 + #size-cells = <0>; 469 + reg = <6>; 470 + }; 471 + imux63: i2c@7 { 472 + #address-cells = <1>; 473 + #size-cells = <0>; 474 + reg = <7>; 475 + }; 476 + }; 477 + 478 + i2c-switch@73 { 479 + compatible = "nxp,pca9548"; 480 + #address-cells = <1>; 481 + #size-cells = <0>; 482 + reg = <0x73>; 483 + i2c-mux-idle-disconnect; 484 + 485 + imux64: i2c@0 { 486 + #address-cells = <1>; 487 + #size-cells = <0>; 488 + reg = <0>; 489 + }; 490 + imux65: i2c@1 { 491 + #address-cells = <1>; 492 + #size-cells = <0>; 493 + reg = <1>; 494 + }; 495 + imux66: i2c@2 { 496 + #address-cells = <1>; 497 + #size-cells = <0>; 498 + reg = <2>; 499 + }; 500 + imux67: i2c@3 { 501 + #address-cells = <1>; 502 + #size-cells = <0>; 503 + reg = <3>; 504 + }; 505 + imux68: i2c@4 { 506 + #address-cells = <1>; 507 + #size-cells = <0>; 508 + reg = <4>; 509 + }; 510 + imux69: i2c@5 { 511 + #address-cells = <1>; 512 + #size-cells = <0>; 513 + reg = <5>; 514 + }; 515 + imux70: i2c@6 { 516 + #address-cells = <1>; 517 + #size-cells = <0>; 518 + reg = <6>; 519 + }; 520 + imux71: i2c@7 { 521 + #address-cells = <1>; 522 + #size-cells = <0>; 523 + reg = <7>; 524 + }; 525 + }; 359 526 }; 360 527 528 + /* To LC3 SCM */ 361 529 imux20: i2c@4 { 362 530 #address-cells = <1>; 363 531 #size-cells = <0>; 364 532 reg = <4>; 533 + 534 + i2c-switch@70 { 535 + compatible = "nxp,pca9548"; 536 + #address-cells = <1>; 537 + #size-cells = <0>; 538 + reg = <0x70>; 539 + i2c-mux-idle-disconnect; 540 + 541 + imux72: i2c@0 { 542 + #address-cells = <1>; 543 + #size-cells = <0>; 544 + reg = <0>; 545 + }; 546 + imux73: i2c@1 { 547 + #address-cells = <1>; 548 + #size-cells = <0>; 549 + reg = <1>; 550 + }; 551 + imux74: i2c@2 { 552 + #address-cells = <1>; 553 + #size-cells = <0>; 554 + reg = <2>; 555 + }; 556 + imux75: i2c@3 { 557 + #address-cells = <1>; 558 + #size-cells = <0>; 559 + reg = <3>; 560 + }; 561 + imux76: i2c@4 { 562 + #address-cells = <1>; 563 + #size-cells = <0>; 564 + reg = <4>; 565 + }; 566 + imux77: i2c@5 { 567 + #address-cells = <1>; 568 + #size-cells = <0>; 569 + reg = <5>; 570 + }; 571 + imux78: i2c@6 { 572 + #address-cells = <1>; 573 + #size-cells = <0>; 574 + reg = <6>; 575 + }; 576 + imux79: i2c@7 { 577 + #address-cells = <1>; 578 + #size-cells = <0>; 579 + reg = <7>; 580 + }; 581 + }; 582 + 583 + i2c-switch@73 { 584 + compatible = "nxp,pca9548"; 585 + #address-cells = <1>; 586 + #size-cells = <0>; 587 + reg = <0x73>; 588 + i2c-mux-idle-disconnect; 589 + 590 + imux80: i2c@0 { 591 + #address-cells = <1>; 592 + #size-cells = <0>; 593 + reg = <0>; 594 + }; 595 + imux81: i2c@1 { 596 + #address-cells = <1>; 597 + #size-cells = <0>; 598 + reg = <1>; 599 + }; 600 + imux82: i2c@2 { 601 + #address-cells = <1>; 602 + #size-cells = <0>; 603 + reg = <2>; 604 + }; 605 + imux83: i2c@3 { 606 + #address-cells = <1>; 607 + #size-cells = <0>; 608 + reg = <3>; 609 + }; 610 + imux84: i2c@4 { 611 + #address-cells = <1>; 612 + #size-cells = <0>; 613 + reg = <4>; 614 + }; 615 + imux85: i2c@5 { 616 + #address-cells = <1>; 617 + #size-cells = <0>; 618 + reg = <5>; 619 + }; 620 + imux86: i2c@6 { 621 + #address-cells = <1>; 622 + #size-cells = <0>; 623 + reg = <6>; 624 + }; 625 + imux87: i2c@7 { 626 + #address-cells = <1>; 627 + #size-cells = <0>; 628 + reg = <7>; 629 + }; 630 + }; 365 631 }; 366 632 633 + /* To Line Card #4 */ 367 634 imux21: i2c@5 { 368 635 #address-cells = <1>; 369 636 #size-cells = <0>; 370 637 reg = <5>; 638 + 639 + i2c-switch@70 { 640 + compatible = "nxp,pca9548"; 641 + #address-cells = <1>; 642 + #size-cells = <0>; 643 + reg = <0x70>; 644 + i2c-mux-idle-disconnect; 645 + 646 + imux88: i2c@0 { 647 + #address-cells = <1>; 648 + #size-cells = <0>; 649 + reg = <0>; 650 + }; 651 + imux89: i2c@1 { 652 + #address-cells = <1>; 653 + #size-cells = <0>; 654 + reg = <1>; 655 + }; 656 + imux90: i2c@2 { 657 + #address-cells = <1>; 658 + #size-cells = <0>; 659 + reg = <2>; 660 + }; 661 + imux91: i2c@3 { 662 + #address-cells = <1>; 663 + #size-cells = <0>; 664 + reg = <3>; 665 + }; 666 + imux92: i2c@4 { 667 + #address-cells = <1>; 668 + #size-cells = <0>; 669 + reg = <4>; 670 + }; 671 + imux93: i2c@5 { 672 + #address-cells = <1>; 673 + #size-cells = <0>; 674 + reg = <5>; 675 + }; 676 + imux94: i2c@6 { 677 + #address-cells = <1>; 678 + #size-cells = <0>; 679 + reg = <6>; 680 + }; 681 + imux95: i2c@7 { 682 + #address-cells = <1>; 683 + #size-cells = <0>; 684 + reg = <7>; 685 + }; 686 + }; 687 + 688 + i2c-switch@73 { 689 + compatible = "nxp,pca9548"; 690 + #address-cells = <1>; 691 + #size-cells = <0>; 692 + reg = <0x73>; 693 + i2c-mux-idle-disconnect; 694 + 695 + imux96: i2c@0 { 696 + #address-cells = <1>; 697 + #size-cells = <0>; 698 + reg = <0>; 699 + }; 700 + imux97: i2c@1 { 701 + #address-cells = <1>; 702 + #size-cells = <0>; 703 + reg = <1>; 704 + }; 705 + imux98: i2c@2 { 706 + #address-cells = <1>; 707 + #size-cells = <0>; 708 + reg = <2>; 709 + }; 710 + imux99: i2c@3 { 711 + #address-cells = <1>; 712 + #size-cells = <0>; 713 + reg = <3>; 714 + }; 715 + imux100: i2c@4 { 716 + #address-cells = <1>; 717 + #size-cells = <0>; 718 + reg = <4>; 719 + }; 720 + imux101: i2c@5 { 721 + #address-cells = <1>; 722 + #size-cells = <0>; 723 + reg = <5>; 724 + }; 725 + imux102: i2c@6 { 726 + #address-cells = <1>; 727 + #size-cells = <0>; 728 + reg = <6>; 729 + }; 730 + imux103: i2c@7 { 731 + #address-cells = <1>; 732 + #size-cells = <0>; 733 + reg = <7>; 734 + }; 735 + }; 371 736 }; 372 737 738 + /* To Fabric Card #3 */ 373 739 imux22: i2c@6 { 374 740 #address-cells = <1>; 375 741 #size-cells = <0>; 376 742 reg = <6>; 743 + 744 + i2c-switch@70 { 745 + compatible = "nxp,pca9548"; 746 + #address-cells = <1>; 747 + #size-cells = <0>; 748 + reg = <0x70>; 749 + i2c-mux-idle-disconnect; 750 + 751 + imux136: i2c@0 { 752 + #address-cells = <1>; 753 + #size-cells = <0>; 754 + reg = <0>; 755 + }; 756 + imux137: i2c@1 { 757 + #address-cells = <1>; 758 + #size-cells = <0>; 759 + reg = <1>; 760 + }; 761 + imux138: i2c@2 { 762 + #address-cells = <1>; 763 + #size-cells = <0>; 764 + reg = <2>; 765 + }; 766 + imux139: i2c@3 { 767 + #address-cells = <1>; 768 + #size-cells = <0>; 769 + reg = <3>; 770 + }; 771 + imux140: i2c@4 { 772 + #address-cells = <1>; 773 + #size-cells = <0>; 774 + reg = <4>; 775 + }; 776 + imux141: i2c@5 { 777 + #address-cells = <1>; 778 + #size-cells = <0>; 779 + reg = <5>; 780 + }; 781 + imux142: i2c@6 { 782 + #address-cells = <1>; 783 + #size-cells = <0>; 784 + reg = <6>; 785 + }; 786 + imux143: i2c@7 { 787 + #address-cells = <1>; 788 + #size-cells = <0>; 789 + reg = <7>; 790 + }; 791 + }; 792 + 793 + i2c-switch@73 { 794 + compatible = "nxp,pca9548"; 795 + #address-cells = <1>; 796 + #size-cells = <0>; 797 + reg = <0x73>; 798 + i2c-mux-idle-disconnect; 799 + 800 + imux144: i2c@0 { 801 + #address-cells = <1>; 802 + #size-cells = <0>; 803 + reg = <0>; 804 + }; 805 + imux145: i2c@1 { 806 + #address-cells = <1>; 807 + #size-cells = <0>; 808 + reg = <1>; 809 + }; 810 + imux146: i2c@2 { 811 + #address-cells = <1>; 812 + #size-cells = <0>; 813 + reg = <2>; 814 + }; 815 + imux147: i2c@3 { 816 + #address-cells = <1>; 817 + #size-cells = <0>; 818 + reg = <3>; 819 + }; 820 + imux148: i2c@4 { 821 + #address-cells = <1>; 822 + #size-cells = <0>; 823 + reg = <4>; 824 + }; 825 + imux149: i2c@5 { 826 + #address-cells = <1>; 827 + #size-cells = <0>; 828 + reg = <5>; 829 + }; 830 + imux150: i2c@6 { 831 + #address-cells = <1>; 832 + #size-cells = <0>; 833 + reg = <6>; 834 + }; 835 + imux151: i2c@7 { 836 + #address-cells = <1>; 837 + #size-cells = <0>; 838 + reg = <7>; 839 + }; 840 + }; 377 841 }; 378 842 843 + /* To Fabric Card #4 */ 379 844 imux23: i2c@7 { 380 845 #address-cells = <1>; 381 846 #size-cells = <0>; 382 847 reg = <7>; 848 + 849 + i2c-switch@70 { 850 + compatible = "nxp,pca9548"; 851 + #address-cells = <1>; 852 + #size-cells = <0>; 853 + reg = <0x70>; 854 + i2c-mux-idle-disconnect; 855 + 856 + imux152: i2c@0 { 857 + #address-cells = <1>; 858 + #size-cells = <0>; 859 + reg = <0>; 860 + }; 861 + imux153: i2c@1 { 862 + #address-cells = <1>; 863 + #size-cells = <0>; 864 + reg = <1>; 865 + }; 866 + imux154: i2c@2 { 867 + #address-cells = <1>; 868 + #size-cells = <0>; 869 + reg = <2>; 870 + }; 871 + imux155: i2c@3 { 872 + #address-cells = <1>; 873 + #size-cells = <0>; 874 + reg = <3>; 875 + }; 876 + imux156: i2c@4 { 877 + #address-cells = <1>; 878 + #size-cells = <0>; 879 + reg = <4>; 880 + }; 881 + imux157: i2c@5 { 882 + #address-cells = <1>; 883 + #size-cells = <0>; 884 + reg = <5>; 885 + }; 886 + imux158: i2c@6 { 887 + #address-cells = <1>; 888 + #size-cells = <0>; 889 + reg = <6>; 890 + }; 891 + imux159: i2c@7 { 892 + #address-cells = <1>; 893 + #size-cells = <0>; 894 + reg = <7>; 895 + }; 896 + }; 897 + 898 + i2c-switch@73 { 899 + compatible = "nxp,pca9548"; 900 + #address-cells = <1>; 901 + #size-cells = <0>; 902 + reg = <0x73>; 903 + i2c-mux-idle-disconnect; 904 + 905 + imux160: i2c@0 { 906 + #address-cells = <1>; 907 + #size-cells = <0>; 908 + reg = <0>; 909 + }; 910 + imux161: i2c@1 { 911 + #address-cells = <1>; 912 + #size-cells = <0>; 913 + reg = <1>; 914 + }; 915 + imux162: i2c@2 { 916 + #address-cells = <1>; 917 + #size-cells = <0>; 918 + reg = <2>; 919 + }; 920 + imux163: i2c@3 { 921 + #address-cells = <1>; 922 + #size-cells = <0>; 923 + reg = <3>; 924 + }; 925 + imux164: i2c@4 { 926 + #address-cells = <1>; 927 + #size-cells = <0>; 928 + reg = <4>; 929 + }; 930 + imux165: i2c@5 { 931 + #address-cells = <1>; 932 + #size-cells = <0>; 933 + reg = <5>; 934 + }; 935 + imux166: i2c@6 { 936 + #address-cells = <1>; 937 + #size-cells = <0>; 938 + reg = <6>; 939 + }; 940 + imux167: i2c@7 { 941 + #address-cells = <1>; 942 + #size-cells = <0>; 943 + reg = <7>; 944 + }; 945 + }; 383 946 }; 384 947 }; 385 948 }; ··· 1188 165 #address-cells = <1>; 1189 166 #size-cells = <0>; 1190 167 reg = <0x71>; 168 + i2c-mux-idle-disconnect; 1191 169 1192 170 imux24: i2c@0 { 1193 171 #address-cells = <1>; ··· 1276 252 }; 1277 253 1278 254 /* 1279 - * I2C bus to Fan Control Board. 255 + * I2C bus to Fan Control Boards. 1280 256 */ 1281 257 &i2c8 { 1282 258 status = "okay"; ··· 1286 262 #address-cells = <1>; 1287 263 #size-cells = <0>; 1288 264 reg = <0x77>; 265 + i2c-mux-idle-disconnect; 1289 266 267 + /* To Fan Control Board #1 */ 1290 268 imux32: i2c@0 { 1291 269 #address-cells = <1>; 1292 270 #size-cells = <0>; 1293 271 reg = <0>; 272 + 273 + i2c-switch@70 { 274 + compatible = "nxp,pca9548"; 275 + #address-cells = <1>; 276 + #size-cells = <0>; 277 + reg = <0x70>; 278 + i2c-mux-idle-disconnect; 279 + 280 + imux168: i2c@0 { 281 + #address-cells = <1>; 282 + #size-cells = <0>; 283 + reg = <0>; 284 + }; 285 + imux169: i2c@1 { 286 + #address-cells = <1>; 287 + #size-cells = <0>; 288 + reg = <1>; 289 + }; 290 + imux170: i2c@2 { 291 + #address-cells = <1>; 292 + #size-cells = <0>; 293 + reg = <2>; 294 + }; 295 + imux171: i2c@3 { 296 + #address-cells = <1>; 297 + #size-cells = <0>; 298 + reg = <3>; 299 + }; 300 + imux172: i2c@4 { 301 + #address-cells = <1>; 302 + #size-cells = <0>; 303 + reg = <4>; 304 + }; 305 + imux173: i2c@5 { 306 + #address-cells = <1>; 307 + #size-cells = <0>; 308 + reg = <5>; 309 + }; 310 + imux174: i2c@6 { 311 + #address-cells = <1>; 312 + #size-cells = <0>; 313 + reg = <6>; 314 + }; 315 + imux175: i2c@7 { 316 + #address-cells = <1>; 317 + #size-cells = <0>; 318 + reg = <7>; 319 + }; 320 + }; 1294 321 }; 1295 322 323 + /* To Fan Control Board #2 */ 1296 324 imux33: i2c@1 { 1297 325 #address-cells = <1>; 1298 326 #size-cells = <0>; 1299 327 reg = <1>; 328 + 329 + i2c-switch@70 { 330 + compatible = "nxp,pca9548"; 331 + #address-cells = <1>; 332 + #size-cells = <0>; 333 + reg = <0x70>; 334 + i2c-mux-idle-disconnect; 335 + 336 + imux176: i2c@0 { 337 + #address-cells = <1>; 338 + #size-cells = <0>; 339 + reg = <0>; 340 + }; 341 + imux177: i2c@1 { 342 + #address-cells = <1>; 343 + #size-cells = <0>; 344 + reg = <1>; 345 + }; 346 + imux178: i2c@2 { 347 + #address-cells = <1>; 348 + #size-cells = <0>; 349 + reg = <2>; 350 + }; 351 + imux179: i2c@3 { 352 + #address-cells = <1>; 353 + #size-cells = <0>; 354 + reg = <3>; 355 + }; 356 + imux180: i2c@4 { 357 + #address-cells = <1>; 358 + #size-cells = <0>; 359 + reg = <4>; 360 + }; 361 + imux181: i2c@5 { 362 + #address-cells = <1>; 363 + #size-cells = <0>; 364 + reg = <5>; 365 + }; 366 + imux182: i2c@6 { 367 + #address-cells = <1>; 368 + #size-cells = <0>; 369 + reg = <6>; 370 + }; 371 + imux183: i2c@7 { 372 + #address-cells = <1>; 373 + #size-cells = <0>; 374 + reg = <7>; 375 + }; 376 + }; 1300 377 }; 1301 378 379 + /* To Fan Control Board #3 */ 1302 380 imux34: i2c@2 { 1303 381 #address-cells = <1>; 1304 382 #size-cells = <0>; 1305 383 reg = <2>; 384 + 385 + i2c-switch@70 { 386 + compatible = "nxp,pca9548"; 387 + #address-cells = <1>; 388 + #size-cells = <0>; 389 + reg = <0x70>; 390 + i2c-mux-idle-disconnect; 391 + 392 + imux184: i2c@0 { 393 + #address-cells = <1>; 394 + #size-cells = <0>; 395 + reg = <0>; 396 + }; 397 + imux185: i2c@1 { 398 + #address-cells = <1>; 399 + #size-cells = <0>; 400 + reg = <1>; 401 + }; 402 + imux186: i2c@2 { 403 + #address-cells = <1>; 404 + #size-cells = <0>; 405 + reg = <2>; 406 + }; 407 + imux187: i2c@3 { 408 + #address-cells = <1>; 409 + #size-cells = <0>; 410 + reg = <3>; 411 + }; 412 + imux188: i2c@4 { 413 + #address-cells = <1>; 414 + #size-cells = <0>; 415 + reg = <4>; 416 + }; 417 + imux189: i2c@5 { 418 + #address-cells = <1>; 419 + #size-cells = <0>; 420 + reg = <5>; 421 + }; 422 + imux190: i2c@6 { 423 + #address-cells = <1>; 424 + #size-cells = <0>; 425 + reg = <6>; 426 + }; 427 + imux191: i2c@7 { 428 + #address-cells = <1>; 429 + #size-cells = <0>; 430 + reg = <7>; 431 + }; 432 + }; 1306 433 }; 1307 434 435 + /* To Fan Control Board #4 */ 1308 436 imux35: i2c@3 { 1309 437 #address-cells = <1>; 1310 438 #size-cells = <0>; 1311 439 reg = <3>; 440 + 441 + i2c-switch@70 { 442 + compatible = "nxp,pca9548"; 443 + #address-cells = <1>; 444 + #size-cells = <0>; 445 + reg = <0x70>; 446 + i2c-mux-idle-disconnect; 447 + 448 + imux192: i2c@0 { 449 + #address-cells = <1>; 450 + #size-cells = <0>; 451 + reg = <0>; 452 + }; 453 + imux193: i2c@1 { 454 + #address-cells = <1>; 455 + #size-cells = <0>; 456 + reg = <1>; 457 + }; 458 + imux194: i2c@2 { 459 + #address-cells = <1>; 460 + #size-cells = <0>; 461 + reg = <2>; 462 + }; 463 + imux195: i2c@3 { 464 + #address-cells = <1>; 465 + #size-cells = <0>; 466 + reg = <3>; 467 + }; 468 + imux196: i2c@4 { 469 + #address-cells = <1>; 470 + #size-cells = <0>; 471 + reg = <4>; 472 + }; 473 + imux197: i2c@5 { 474 + #address-cells = <1>; 475 + #size-cells = <0>; 476 + reg = <5>; 477 + }; 478 + imux198: i2c@6 { 479 + #address-cells = <1>; 480 + #size-cells = <0>; 481 + reg = <6>; 482 + }; 483 + imux199: i2c@7 { 484 + #address-cells = <1>; 485 + #size-cells = <0>; 486 + reg = <7>; 487 + }; 488 + }; 1312 489 }; 1313 490 1314 491 imux36: i2c@4 {
+36 -10
arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts
··· 27 27 memory@40000000 { 28 28 reg = <0x40000000 0x20000000>; 29 29 }; 30 + 31 + ast-adc-hwmon { 32 + compatible = "iio-hwmon"; 33 + io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; 34 + }; 30 35 }; 31 36 32 37 &wdt1 { ··· 120 115 status = "okay"; 121 116 }; 122 117 123 - &i2c9 { 124 - status = "okay"; 125 - }; 126 - 127 - &i2c10 { 128 - status = "okay"; 129 - }; 130 - 131 118 &i2c11 { 132 119 status = "okay"; 133 120 }; ··· 128 131 status = "okay"; 129 132 }; 130 133 131 - &i2c13 { 134 + &vhub { 132 135 status = "okay"; 133 136 }; 134 137 135 - &vhub { 138 + &adc { 136 139 status = "okay"; 140 + }; 141 + 142 + &pwm_tacho { 143 + status = "okay"; 144 + pinctrl-names = "default"; 145 + pinctrl-0 = <&pinctrl_pwm0_default 146 + &pinctrl_pwm1_default 147 + &pinctrl_pwm6_default 148 + &pinctrl_pwm7_default>; 149 + 150 + fan@0 { 151 + reg = <0x00>; 152 + aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>; 153 + }; 154 + 155 + fan@1 { 156 + reg = <0x01>; 157 + aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>; 158 + }; 159 + 160 + fan@6 { 161 + reg = <0x06>; 162 + aspeed,fan-tach-ch = /bits/ 8 <0x04 0x05>; 163 + }; 164 + 165 + fan@7 { 166 + reg = <0x07>; 167 + aspeed,fan-tach-ch = /bits/ 8 <0x06 0x07>; 168 + }; 137 169 };
+455 -11
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
··· 12 12 13 13 aliases { 14 14 serial4 = &uart5; 15 + i2c16 = &i2c2mux0; 16 + i2c17 = &i2c2mux1; 17 + i2c18 = &i2c2mux2; 18 + i2c19 = &i2c2mux3; 19 + 20 + spi10 = &cfam0_spi0; 21 + spi11 = &cfam0_spi1; 22 + spi12 = &cfam0_spi2; 23 + spi13 = &cfam0_spi3; 24 + spi20 = &cfam1_spi0; 25 + spi21 = &cfam1_spi1; 26 + spi22 = &cfam1_spi2; 27 + spi23 = &cfam1_spi3; 28 + spi30 = &cfam2_spi0; 29 + spi31 = &cfam2_spi1; 30 + spi32 = &cfam2_spi2; 31 + spi33 = &cfam2_spi3; 15 32 }; 16 33 17 34 chosen { ··· 85 68 }; 86 69 }; 87 70 71 + i2c2mux: i2cmux { 72 + compatible = "i2c-mux-gpio"; 73 + #address-cells = <1>; 74 + #size-cells = <0>; 75 + status = "okay"; 76 + 77 + i2c-parent = <&i2c2>; 78 + mux-gpios = <&gpio0 ASPEED_GPIO(G, 4) GPIO_ACTIVE_HIGH>, 79 + <&gpio0 ASPEED_GPIO(G, 5) GPIO_ACTIVE_HIGH>; 80 + idle-state = <0>; 81 + 82 + i2c2mux0: i2c@0 { 83 + #address-cells = <1>; 84 + #size-cells = <0>; 85 + reg = <0>; 86 + }; 87 + 88 + i2c2mux1: i2c@1 { 89 + #address-cells = <1>; 90 + #size-cells = <0>; 91 + reg = <1>; 92 + }; 93 + 94 + i2c2mux2: i2c@2 { 95 + #address-cells = <1>; 96 + #size-cells = <0>; 97 + reg = <2>; 98 + }; 99 + 100 + i2c2mux3: i2c@3 { 101 + #address-cells = <1>; 102 + #size-cells = <0>; 103 + reg = <3>; 104 + }; 105 + }; 106 + }; 107 + 108 + &ehci1 { 109 + status = "okay"; 88 110 }; 89 111 90 112 &gpio0 { 91 113 gpio-line-names = 92 114 /*A0-A7*/ "","","","","","","","", 93 - /*B0-B7*/ "","","","","","","","", 115 + /*B0-B7*/ "","","","","","","checkstop","", 94 116 /*C0-C7*/ "","","","","","","","", 95 117 /*D0-D7*/ "","","","","","","","", 96 118 /*E0-E7*/ "","","","","","","","", ··· 142 86 /*L0-L7*/ "","","","","","","","", 143 87 /*M0-M7*/ "","","","","","","","", 144 88 /*N0-N7*/ "","","","","","","","", 145 - /*O0-O7*/ "","","","","","","","", 89 + /*O0-O7*/ "","","","usb-power","","","","", 146 90 /*P0-P7*/ "","","","","","","","", 147 91 /*Q0-Q7*/ "cfam-reset","","","","","","","", 148 92 /*R0-R7*/ "","","","","","","","", ··· 158 102 /*AA0-AA7*/ "","","","","","","","", 159 103 /*AB0-AB7*/ "","","","","","","","", 160 104 /*AC0-AC7*/ "","","","","","","",""; 105 + 106 + pin_mclr_vpp { 107 + gpio-hog; 108 + gpios = <ASPEED_GPIO(P, 7) GPIO_OPEN_DRAIN>; 109 + output-high; 110 + line-name = "mclr_vpp"; 111 + }; 112 + 113 + i2c3_mux_oe_n { 114 + gpio-hog; 115 + gpios = <ASPEED_GPIO(G, 6) GPIO_ACTIVE_LOW>; 116 + output-high; 117 + line-name = "I2C3_MUX_OE_N"; 118 + }; 161 119 }; 162 120 163 121 &emmc_controller { ··· 188 118 #address-cells = <2>; 189 119 #size-cells = <0>; 190 120 121 + /* 122 + * CFAM Reset is supposed to be active low but pass1 hardware is wired 123 + * active high. 124 + */ 125 + cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>; 126 + 191 127 cfam@0,0 { 192 128 reg = <0 0>; 193 129 #address-cells = <1>; ··· 205 129 reg = <0x1000 0x400>; 206 130 }; 207 131 132 + i2c@1800 { 133 + compatible = "ibm,fsi-i2c-master"; 134 + reg = <0x1800 0x400>; 135 + #address-cells = <1>; 136 + #size-cells = <0>; 137 + }; 138 + 139 + fsi2spi@1c00 { 140 + compatible = "ibm,fsi2spi"; 141 + reg = <0x1c00 0x400>; 142 + #address-cells = <1>; 143 + #size-cells = <0>; 144 + 145 + cfam0_spi0: spi@0 { 146 + reg = <0x0>; 147 + #address-cells = <1>; 148 + #size-cells = <0>; 149 + 150 + eeprom@0 { 151 + at25,byte-len = <0x80000>; 152 + at25,addr-mode = <4>; 153 + at25,page-size = <256>; 154 + 155 + compatible = "atmel,at25"; 156 + reg = <0>; 157 + spi-max-frequency = <1000000>; 158 + }; 159 + }; 160 + 161 + cfam0_spi1: spi@20 { 162 + reg = <0x20>; 163 + #address-cells = <1>; 164 + #size-cells = <0>; 165 + 166 + eeprom@0 { 167 + at25,byte-len = <0x80000>; 168 + at25,addr-mode = <4>; 169 + at25,page-size = <256>; 170 + 171 + compatible = "atmel,at25"; 172 + reg = <0>; 173 + spi-max-frequency = <1000000>; 174 + }; 175 + }; 176 + 177 + cfam0_spi2: spi@40 { 178 + reg = <0x40>; 179 + #address-cells = <1>; 180 + #size-cells = <0>; 181 + 182 + eeprom@0 { 183 + at25,byte-len = <0x80000>; 184 + at25,addr-mode = <4>; 185 + at25,page-size = <256>; 186 + 187 + compatible = "atmel,at25"; 188 + reg = <0>; 189 + spi-max-frequency = <1000000>; 190 + }; 191 + }; 192 + 193 + cfam0_spi3: spi@60 { 194 + reg = <0x60>; 195 + #address-cells = <1>; 196 + #size-cells = <0>; 197 + 198 + eeprom@0 { 199 + at25,byte-len = <0x80000>; 200 + at25,addr-mode = <4>; 201 + at25,page-size = <256>; 202 + 203 + compatible = "atmel,at25"; 204 + reg = <0>; 205 + spi-max-frequency = <1000000>; 206 + }; 207 + }; 208 + }; 209 + 208 210 sbefifo@2400 { 209 211 compatible = "ibm,p9-sbefifo"; 210 212 reg = <0x2400 0x400>; ··· 290 136 #size-cells = <0>; 291 137 292 138 fsi_occ0: occ { 293 - compatible = "ibm,p9-occ"; 139 + compatible = "ibm,p10-occ"; 294 140 }; 295 141 }; 296 142 ··· 317 163 reg = <0x1000 0x400>; 318 164 }; 319 165 166 + i2c@1800 { 167 + compatible = "ibm,fsi-i2c-master"; 168 + reg = <0x1800 0x400>; 169 + #address-cells = <1>; 170 + #size-cells = <0>; 171 + }; 172 + 173 + fsi2spi@1c00 { 174 + compatible = "ibm,fsi2spi"; 175 + reg = <0x1c00 0x400>; 176 + #address-cells = <1>; 177 + #size-cells = <0>; 178 + 179 + cfam1_spi0: spi@0 { 180 + reg = <0x0>; 181 + #address-cells = <1>; 182 + #size-cells = <0>; 183 + 184 + eeprom@0 { 185 + at25,byte-len = <0x80000>; 186 + at25,addr-mode = <4>; 187 + at25,page-size = <256>; 188 + 189 + compatible = "atmel,at25"; 190 + reg = <0>; 191 + spi-max-frequency = <1000000>; 192 + }; 193 + }; 194 + 195 + cfam1_spi1: spi@20 { 196 + reg = <0x20>; 197 + #address-cells = <1>; 198 + #size-cells = <0>; 199 + 200 + eeprom@0 { 201 + at25,byte-len = <0x80000>; 202 + at25,addr-mode = <4>; 203 + at25,page-size = <256>; 204 + 205 + compatible = "atmel,at25"; 206 + reg = <0>; 207 + spi-max-frequency = <1000000>; 208 + }; 209 + }; 210 + 211 + cfam1_spi2: spi@40 { 212 + reg = <0x40>; 213 + #address-cells = <1>; 214 + #size-cells = <0>; 215 + 216 + eeprom@0 { 217 + at25,byte-len = <0x80000>; 218 + at25,addr-mode = <4>; 219 + at25,page-size = <256>; 220 + 221 + compatible = "atmel,at25"; 222 + reg = <0>; 223 + spi-max-frequency = <1000000>; 224 + }; 225 + }; 226 + 227 + cfam1_spi3: spi@60 { 228 + reg = <0x60>; 229 + #address-cells = <1>; 230 + #size-cells = <0>; 231 + 232 + eeprom@0 { 233 + at25,byte-len = <0x80000>; 234 + at25,addr-mode = <4>; 235 + at25,page-size = <256>; 236 + 237 + compatible = "atmel,at25"; 238 + reg = <0>; 239 + spi-max-frequency = <1000000>; 240 + }; 241 + }; 242 + }; 243 + 320 244 sbefifo@2400 { 321 245 compatible = "ibm,p9-sbefifo"; 322 246 reg = <0x2400 0x400>; ··· 402 170 #size-cells = <0>; 403 171 404 172 fsi_occ1: occ { 405 - compatible = "ibm,p9-occ"; 173 + compatible = "ibm,p10-occ"; 406 174 }; 407 175 }; 408 176 409 177 fsi_hub1: hub@3400 { 178 + compatible = "fsi-master-hub"; 179 + reg = <0x3400 0x400>; 180 + #address-cells = <2>; 181 + #size-cells = <0>; 182 + 183 + no-scan-on-init; 184 + }; 185 + }; 186 + 187 + cfam@2,0 { 188 + reg = <2 0>; 189 + #address-cells = <1>; 190 + #size-cells = <1>; 191 + chip-id = <2>; 192 + 193 + scom@1000 { 194 + compatible = "ibm,fsi2pib"; 195 + reg = <0x1000 0x400>; 196 + }; 197 + 198 + i2c@1800 { 199 + compatible = "ibm,fsi-i2c-master"; 200 + reg = <0x1800 0x400>; 201 + #address-cells = <1>; 202 + #size-cells = <0>; 203 + }; 204 + 205 + fsi2spi@1c00 { 206 + compatible = "ibm,fsi2spi"; 207 + reg = <0x1c00 0x400>; 208 + #address-cells = <1>; 209 + #size-cells = <0>; 210 + 211 + cfam2_spi0: spi@0 { 212 + reg = <0x0>; 213 + #address-cells = <1>; 214 + #size-cells = <0>; 215 + 216 + eeprom@0 { 217 + at25,byte-len = <0x80000>; 218 + at25,addr-mode = <4>; 219 + at25,page-size = <256>; 220 + 221 + compatible = "atmel,at25"; 222 + reg = <0>; 223 + spi-max-frequency = <1000000>; 224 + }; 225 + }; 226 + 227 + cfam2_spi1: spi@20 { 228 + reg = <0x20>; 229 + #address-cells = <1>; 230 + #size-cells = <0>; 231 + 232 + eeprom@0 { 233 + at25,byte-len = <0x80000>; 234 + at25,addr-mode = <4>; 235 + at25,page-size = <256>; 236 + 237 + compatible = "atmel,at25"; 238 + reg = <0>; 239 + spi-max-frequency = <1000000>; 240 + }; 241 + }; 242 + 243 + cfam2_spi2: spi@40 { 244 + reg = <0x40>; 245 + #address-cells = <1>; 246 + #size-cells = <0>; 247 + 248 + eeprom@0 { 249 + at25,byte-len = <0x80000>; 250 + at25,addr-mode = <4>; 251 + at25,page-size = <256>; 252 + 253 + compatible = "atmel,at25"; 254 + reg = <0>; 255 + spi-max-frequency = <1000000>; 256 + }; 257 + }; 258 + 259 + cfam2_spi3: spi@60 { 260 + reg = <0x60>; 261 + #address-cells = <1>; 262 + #size-cells = <0>; 263 + 264 + eeprom@0 { 265 + at25,byte-len = <0x80000>; 266 + at25,addr-mode = <4>; 267 + at25,page-size = <256>; 268 + 269 + compatible = "atmel,at25"; 270 + reg = <0>; 271 + spi-max-frequency = <1000000>; 272 + }; 273 + }; 274 + }; 275 + 276 + sbefifo@2400 { 277 + compatible = "ibm,p9-sbefifo"; 278 + reg = <0x2400 0x400>; 279 + #address-cells = <1>; 280 + #size-cells = <0>; 281 + 282 + fsi_occ2: occ { 283 + compatible = "ibm,p10-occ"; 284 + }; 285 + }; 286 + 287 + fsi_hub2: hub@3400 { 410 288 compatible = "fsi-master-hub"; 411 289 reg = <0x3400 0x400>; 412 290 #address-cells = <2>; ··· 536 194 reg = <2>; 537 195 }; 538 196 197 + &fsi_occ2 { 198 + reg = <3>; 199 + }; 200 + 539 201 &ibt { 540 202 status = "okay"; 541 203 }; ··· 551 205 compatible = "atmel,24c64"; 552 206 reg = <0x51>; 553 207 }; 208 + 209 + tca9554@40 { 210 + compatible = "ti,tca9554"; 211 + reg = <0x40>; 212 + gpio-controller; 213 + #gpio-cells = <2>; 214 + 215 + smbus0 { 216 + gpio-hog; 217 + gpios = <4 GPIO_ACTIVE_HIGH>; 218 + output-high; 219 + line-name = "smbus0"; 220 + }; 221 + }; 222 + 554 223 }; 555 224 556 225 &i2c1 { ··· 880 519 compatible = "atmel,24c64"; 881 520 reg = <0x51>; 882 521 }; 522 + 523 + pca1: pca9552@61 { 524 + compatible = "nxp,pca9552"; 525 + reg = <0x61>; 526 + #address-cells = <1>; 527 + #size-cells = <0>; 528 + gpio-controller; 529 + #gpio-cells = <2>; 530 + 531 + gpio@0 { 532 + reg = <0>; 533 + type = <PCA955X_TYPE_GPIO>; 534 + }; 535 + 536 + gpio@1 { 537 + reg = <1>; 538 + type = <PCA955X_TYPE_GPIO>; 539 + }; 540 + 541 + gpio@2 { 542 + reg = <2>; 543 + type = <PCA955X_TYPE_GPIO>; 544 + }; 545 + 546 + gpio@3 { 547 + reg = <3>; 548 + type = <PCA955X_TYPE_GPIO>; 549 + }; 550 + 551 + gpio@4 { 552 + reg = <4>; 553 + type = <PCA955X_TYPE_GPIO>; 554 + }; 555 + 556 + gpio@5 { 557 + reg = <5>; 558 + type = <PCA955X_TYPE_GPIO>; 559 + }; 560 + 561 + gpio@6 { 562 + reg = <6>; 563 + type = <PCA955X_TYPE_GPIO>; 564 + }; 565 + 566 + gpio@7 { 567 + reg = <7>; 568 + type = <PCA955X_TYPE_GPIO>; 569 + }; 570 + 571 + gpio@8 { 572 + reg = <8>; 573 + type = <PCA955X_TYPE_GPIO>; 574 + }; 575 + 576 + gpio@9 { 577 + reg = <9>; 578 + type = <PCA955X_TYPE_GPIO>; 579 + }; 580 + 581 + gpio@10 { 582 + reg = <10>; 583 + type = <PCA955X_TYPE_GPIO>; 584 + }; 585 + 586 + gpio@11 { 587 + reg = <11>; 588 + type = <PCA955X_TYPE_GPIO>; 589 + }; 590 + 591 + gpio@12 { 592 + reg = <12>; 593 + type = <PCA955X_TYPE_GPIO>; 594 + }; 595 + 596 + gpio@13 { 597 + reg = <13>; 598 + type = <PCA955X_TYPE_GPIO>; 599 + }; 600 + 601 + gpio@14 { 602 + reg = <14>; 603 + type = <PCA955X_TYPE_GPIO>; 604 + }; 605 + 606 + gpio@15 { 607 + reg = <15>; 608 + type = <PCA955X_TYPE_GPIO>; 609 + }; 610 + }; 611 + 883 612 }; 884 613 885 614 &i2c9 { ··· 1106 655 label = "bmc"; 1107 656 spi-max-frequency = <50000000>; 1108 657 #include "openbmc-flash-layout-128.dtsi" 1109 - }; 1110 - 1111 - flash@1 { 1112 - status = "okay"; 1113 - m25p,fast-read; 1114 - label = "alt-bmc"; 1115 - spi-max-frequency = <50000000>; 1116 658 }; 1117 659 }; 1118 660
+152
arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts
··· 820 820 #address-cells = <1>; 821 821 #size-cells = <0>; 822 822 reg = <0>; 823 + 824 + tca9554@39 { 825 + compatible = "ti,tca9554"; 826 + reg = <0x39>; 827 + gpio-controller; 828 + #gpio-cells = <2>; 829 + 830 + smbus0 { 831 + gpio-hog; 832 + gpios = <4 GPIO_ACTIVE_HIGH>; 833 + output-high; 834 + line-name = "smbus0"; 835 + }; 836 + }; 837 + 838 + tmp431@4c { 839 + compatible = "ti,tmp401"; 840 + reg = <0x4c>; 841 + }; 823 842 }; 824 843 825 844 bus9_mux232: i2c@1 { 826 845 #address-cells = <1>; 827 846 #size-cells = <0>; 828 847 reg = <1>; 848 + 849 + tca9554@39 { 850 + compatible = "ti,tca9554"; 851 + reg = <0x39>; 852 + gpio-controller; 853 + #gpio-cells = <2>; 854 + 855 + smbus1 { 856 + gpio-hog; 857 + gpios = <4 GPIO_ACTIVE_HIGH>; 858 + output-high; 859 + line-name = "smbus1"; 860 + }; 861 + }; 862 + 863 + tmp431@4c { 864 + compatible = "ti,tmp401"; 865 + reg = <0x4c>; 866 + }; 829 867 }; 830 868 831 869 bus9_mux233: i2c@2 { ··· 893 855 #address-cells = <1>; 894 856 #size-cells = <0>; 895 857 reg = <0>; 858 + 859 + tca9554@39 { 860 + compatible = "ti,tca9554"; 861 + reg = <0x39>; 862 + gpio-controller; 863 + #gpio-cells = <2>; 864 + 865 + smbus2 { 866 + gpio-hog; 867 + gpios = <4 GPIO_ACTIVE_HIGH>; 868 + output-high; 869 + line-name = "smbus2"; 870 + }; 871 + }; 872 + 873 + tmp431@4c { 874 + compatible = "ti,tmp401"; 875 + reg = <0x4c>; 876 + }; 896 877 }; 897 878 898 879 bus9_mux236: i2c@1 { 899 880 #address-cells = <1>; 900 881 #size-cells = <0>; 901 882 reg = <1>; 883 + 884 + tca9554@39 { 885 + compatible = "ti,tca9554"; 886 + reg = <0x39>; 887 + gpio-controller; 888 + #gpio-cells = <2>; 889 + 890 + smbus3 { 891 + gpio-hog; 892 + gpios = <4 GPIO_ACTIVE_HIGH>; 893 + output-high; 894 + line-name = "smbus3"; 895 + }; 896 + }; 897 + 898 + tmp431@4c { 899 + compatible = "ti,tmp401"; 900 + reg = <0x4c>; 901 + }; 902 902 }; 903 903 904 904 bus9_mux237: i2c@2 { ··· 985 909 #address-cells = <1>; 986 910 #size-cells = <0>; 987 911 reg = <0>; 912 + 913 + tca9554@39 { 914 + compatible = "ti,tca9554"; 915 + reg = <0x39>; 916 + gpio-controller; 917 + #gpio-cells = <2>; 918 + 919 + smbus4 { 920 + gpio-hog; 921 + gpios = <4 GPIO_ACTIVE_HIGH>; 922 + output-high; 923 + line-name = "smbus4"; 924 + }; 925 + }; 926 + 927 + tmp431@4c { 928 + compatible = "ti,tmp401"; 929 + reg = <0x4c>; 930 + }; 988 931 }; 989 932 990 933 bus10_mux240: i2c@1 { 991 934 #address-cells = <1>; 992 935 #size-cells = <0>; 993 936 reg = <1>; 937 + 938 + tca9554@39 { 939 + compatible = "ti,tca9554"; 940 + reg = <0x39>; 941 + gpio-controller; 942 + #gpio-cells = <2>; 943 + 944 + smbus5 { 945 + gpio-hog; 946 + gpios = <4 GPIO_ACTIVE_HIGH>; 947 + output-high; 948 + line-name = "smbus5"; 949 + }; 950 + }; 951 + 952 + tmp431@4c { 953 + compatible = "ti,tmp401"; 954 + reg = <0x4c>; 955 + }; 994 956 }; 995 957 996 958 bus10_mux241: i2c@2 { ··· 1058 944 #address-cells = <1>; 1059 945 #size-cells = <0>; 1060 946 reg = <0>; 947 + 948 + tca9554@39 { 949 + compatible = "ti,tca9554"; 950 + reg = <0x39>; 951 + gpio-controller; 952 + #gpio-cells = <2>; 953 + 954 + smbus6 { 955 + gpio-hog; 956 + gpios = <4 GPIO_ACTIVE_HIGH>; 957 + output-high; 958 + line-name = "smbus6"; 959 + }; 960 + }; 961 + 962 + tmp431@4c { 963 + compatible = "ti,tmp401"; 964 + reg = <0x4c>; 965 + }; 1061 966 }; 1062 967 1063 968 bus10_mux244: i2c@1 { 1064 969 #address-cells = <1>; 1065 970 #size-cells = <0>; 1066 971 reg = <1>; 972 + 973 + tca9554@39 { 974 + compatible = "ti,tca9554"; 975 + reg = <0x39>; 976 + gpio-controller; 977 + #gpio-cells = <2>; 978 + 979 + smbus7 { 980 + gpio-hog; 981 + gpios = <4 GPIO_ACTIVE_HIGH>; 982 + output-high; 983 + line-name = "smbus7"; 984 + }; 985 + }; 986 + 987 + tmp431@4c { 988 + compatible = "ti,tmp401"; 989 + reg = <0x4c>; 990 + }; 1067 991 }; 1068 992 1069 993 bus10_mux245: i2c@2 {
+15 -64
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
··· 29 29 no-map; 30 30 reg = <0xb8000000 0x4000000>; /* 64M */ 31 31 }; 32 - }; 33 32 34 - gpio-keys { 35 - compatible = "gpio-keys"; 36 - 37 - checkstop { 38 - label = "checkstop"; 39 - gpios = <&gpio0 ASPEED_GPIO(E, 3) GPIO_ACTIVE_LOW>; 40 - linux,code = <ASPEED_GPIO(E, 3)>; 41 - }; 42 - 43 - ps0-presence { 44 - label = "ps0-presence"; 45 - gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; 46 - linux,code = <ASPEED_GPIO(H, 3)>; 47 - }; 48 - 49 - ps1-presence { 50 - label = "ps1-presence"; 51 - gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>; 52 - linux,code = <ASPEED_GPIO(E, 5)>; 53 - }; 54 - }; 55 - 56 - gpio-keys-polled { 57 - compatible = "gpio-keys-polled"; 58 - #address-cells = <1>; 59 - #size-cells = <0>; 60 - poll-interval = <1000>; 61 - 62 - fan0-presence { 63 - label = "fan0-presence"; 64 - gpios = <&pca0 4 GPIO_ACTIVE_LOW>; 65 - linux,code = <4>; 66 - }; 67 - 68 - fan1-presence { 69 - label = "fan1-presence"; 70 - gpios = <&pca0 5 GPIO_ACTIVE_LOW>; 71 - linux,code = <5>; 72 - }; 73 - 74 - fan2-presence { 75 - label = "fan2-presence"; 76 - gpios = <&pca0 6 GPIO_ACTIVE_LOW>; 77 - linux,code = <6>; 78 - }; 79 - 80 - fan3-presence { 81 - label = "fan3-presence"; 82 - gpios = <&pca0 7 GPIO_ACTIVE_LOW>; 83 - linux,code = <7>; 33 + vga_memory: region@bf000000 { 34 + no-map; 35 + compatible = "shared-dma-pool"; 36 + reg = <0xbf000000 0x01000000>; /* 16M */ 84 37 }; 85 38 }; 86 39 87 40 gpio-keys { 88 41 compatible = "gpio-keys"; 89 - 90 - air-water { 91 - label = "air-water"; 92 - gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_LOW>; 93 - linux,code = <ASPEED_GPIO(Q, 7)>; 94 - }; 95 - 96 - checkstop { 97 - label = "checkstop"; 98 - gpios = <&gpio0 ASPEED_GPIO(E, 3) GPIO_ACTIVE_LOW>; 99 - linux,code = <ASPEED_GPIO(E, 3)>; 100 - }; 101 42 102 43 ps0-presence { 103 44 label = "ps0-presence"; ··· 95 154 }; 96 155 }; 97 156 157 + &ehci1 { 158 + status = "okay"; 159 + }; 160 + 98 161 &gpio0 { 99 162 gpio-line-names = 100 163 /*A0-A7*/ "","","","","","","","", ··· 115 170 /*L0-L7*/ "","","","","","","","", 116 171 /*M0-M7*/ "","","","","","","","", 117 172 /*N0-N7*/ "","","","","","","","", 118 - /*O0-O7*/ "led-rear-power","led-rear-id","","","","","","", 173 + /*O0-O7*/ "led-rear-power","led-rear-id","","usb-power","","","","", 119 174 /*P0-P7*/ "","","","","","","","", 120 175 /*Q0-Q7*/ "cfam-reset","","","","","","","fsi-routing", 121 176 /*R0-R7*/ "","","","","","","","", ··· 189 244 190 245 fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>; 191 246 fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>; 247 + cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>; 192 248 193 249 cfam@0,0 { 194 250 reg = <0 0>; ··· 857 911 pinctrl-names = "default"; 858 912 pinctrl-0 = <&pinctrl_lpc_default>, 859 913 <&pinctrl_lsirq_default>; 914 + }; 915 + 916 + &xdma { 917 + status = "okay"; 918 + memory-region = <&vga_memory>; 860 919 };
+11
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
··· 27 27 reg = <0x98000000 0x04000000>; /* 64M */ 28 28 }; 29 29 30 + vga_memory: region@9f000000 { 31 + no-map; 32 + compatible = "shared-dma-pool"; 33 + reg = <0x9f000000 0x01000000>; /* 16M */ 34 + }; 35 + 30 36 gfx_memory: framebuffer { 31 37 size = <0x01000000>; 32 38 alignment = <0x01000000>; ··· 694 688 &video { 695 689 status = "okay"; 696 690 memory-region = <&video_engine_memory>; 691 + }; 692 + 693 + &xdma { 694 + status = "okay"; 695 + memory-region = <&vga_memory>; 697 696 }; 698 697 699 698 #include "ibm-power9-dual.dtsi"
+3 -2
arch/arm/boot/dts/aspeed-g5.dtsi
··· 1 1 // SPDX-License-Identifier: GPL-2.0+ 2 2 #include <dt-bindings/clock/aspeed-clock.h> 3 + #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 3 4 4 5 / { 5 6 model = "Aspeed BMC"; ··· 268 267 reg = <0x1e6e7000 0x100>; 269 268 clocks = <&syscon ASPEED_CLK_GATE_BCLK>; 270 269 resets = <&syscon ASPEED_RESET_XDMA>; 271 - interrupts-extended = <&vic 6>, <&scu_ic 2>; 272 - pcie-device = "bmc"; 270 + interrupts-extended = <&vic 6>, <&scu_ic ASPEED_AST2500_SCU_IC_PCIE_RESET_LO_TO_HI>; 271 + aspeed,pcie-device = "bmc"; 273 272 aspeed,scu = <&syscon>; 274 273 status = "disabled"; 275 274 };
+3 -12
arch/arm/boot/dts/aspeed-g6.dtsi
··· 2 2 // Copyright 2019 IBM Corp. 3 3 4 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 + #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 5 6 #include <dt-bindings/clock/ast2600-clock.h> 6 7 7 8 / { ··· 347 346 resets = <&syscon ASPEED_RESET_DEV_XDMA>, <&syscon ASPEED_RESET_RC_XDMA>; 348 347 reset-names = "device", "root-complex"; 349 348 interrupts-extended = <&gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 350 - <&scu_ic0 2>; 351 - pcie-device = "bmc"; 349 + <&scu_ic0 ASPEED_AST2600_SCU_IC0_PCIE_PERST_LO_TO_HI>; 350 + aspeed,pcie-device = "bmc"; 352 351 aspeed,scu = <&syscon>; 353 - status = "disabled"; 354 - }; 355 - 356 - video: video@1e700000 { 357 - compatible = "aspeed,ast2600-video-engine"; 358 - reg = <0x1e700000 0x1000>; 359 - clocks = <&syscon ASPEED_CLK_GATE_VCLK>, 360 - <&syscon ASPEED_CLK_GATE_ECLK>; 361 - clock-names = "vclk", "eclk"; 362 - interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 363 352 status = "disabled"; 364 353 }; 365 354