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

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

ASPEED device tree updates for 5.5

- Lots of work on the AST2600 boards as bringup continues. There's the
eval board, and two IBM boards called Tacoma and Rainier

- A new flash layout for OpenBMC systems with larger flashes

- Better support for the MAC clocking when talking to a NCSI device,
making Linux less reliant on u-boot having done the correct thing

- LED fixes for vesin and fp5280g2

- SGPIO support

- Facebook network BMC cleanup with the common hardware moved to a
shared dtsi

* tag 'aspeed-5.5-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed: (48 commits)
ARM: dts: aspeed-g6: Add timer description
ARM: dts: aspeed: ast2600evb: Enable i2c buses
ARM: dts: aspeed-g5: Add SGPIO description
ARM: dts: aspeed: yamp: Use common dtsi
ARM: dts: aspeed: minipack: Use common dtsi
ARM: dts: aspeed: cmm: Use common dtsi
ARM: dts: aspeed: Common dtsi for Facebook AST2500 Network BMCs
ARM: dts: aspeed: rainier: gpio-keys for PSU presence
ARM: dts: aspeed: rainier: Fix i2c eeprom size
ARM: dts: tacoma: Hog LPC pinmux
ARM: dts: aspeed: rainier: Enable VUART1
ARM: dts: aspeed: rainier: Add i2c eeproms
ARM: dts: aspeed: tacoma: Use 64MB for firmware memory
ARM: dts: aspeed: tacoma: Add host FSI description
ARM: dts: ast2600evb: Enable UART workaround
ARM: dts: aspeed: tacoma: Add UART1 and workaround
ARM: dts: aspeed-g6: Add remaining UARTs
ARM: dts: aspeed-g6: Fix i2c clock source
ARM: dts: aspeed: Add RCLK to MAC clocks for RMII interfaces
ARM: dts: aspeed: tacoma: Enable FMC and SPI devices
...

Link: https://lore.kernel.org/r/CACPK8Xe8XiJ+oEp3_AXO5Mox-mXWVrOJKQLJMKJxg1WdYCTzMw@mail.gmail.com
Signed-off-by: Olof Johansson <olof@lixom.net>

+3197 -177
+2
arch/arm/boot/dts/Makefile
··· 1298 1298 aspeed-bmc-facebook-wedge40.dtb \ 1299 1299 aspeed-bmc-facebook-wedge100.dtb \ 1300 1300 aspeed-bmc-facebook-yamp.dtb \ 1301 + aspeed-bmc-ibm-rainier.dtb \ 1301 1302 aspeed-bmc-intel-s2600wf.dtb \ 1302 1303 aspeed-bmc-inspur-fp5280g2.dtb \ 1303 1304 aspeed-bmc-lenovo-hr630.dtb \ ··· 1309 1308 aspeed-bmc-opp-palmetto.dtb \ 1310 1309 aspeed-bmc-opp-romulus.dtb \ 1311 1310 aspeed-bmc-opp-swift.dtb \ 1311 + aspeed-bmc-opp-tacoma.dtb \ 1312 1312 aspeed-bmc-opp-vesnin.dtb \ 1313 1313 aspeed-bmc-opp-witherspoon.dtb \ 1314 1314 aspeed-bmc-opp-zaius.dtb \
+2
arch/arm/boot/dts/aspeed-ast2500-evb.dts
··· 40 40 status = "okay"; 41 41 m25p,fast-read; 42 42 label = "bmc"; 43 + spi-max-frequency = <50000000>; 43 44 #include "openbmc-flash-layout.dtsi" 44 45 }; 45 46 }; ··· 51 50 status = "okay"; 52 51 m25p,fast-read; 53 52 label = "pnor"; 53 + spi-max-frequency = <100000000>; 54 54 }; 55 55 }; 56 56
+136 -1
arch/arm/boot/dts/aspeed-ast2600-evb.dts
··· 55 55 56 56 phy-mode = "rgmii"; 57 57 phy-handle = <&ethphy1>; 58 + 59 + pinctrl-names = "default"; 60 + pinctrl-0 = <&pinctrl_rgmii2_default>; 58 61 }; 59 62 60 63 &mac2 { ··· 65 62 66 63 phy-mode = "rgmii"; 67 64 phy-handle = <&ethphy2>; 65 + 66 + pinctrl-names = "default"; 67 + pinctrl-0 = <&pinctrl_rgmii3_default>; 68 68 }; 69 69 70 70 &mac3 { ··· 75 69 76 70 phy-mode = "rgmii"; 77 71 phy-handle = <&ethphy3>; 72 + 73 + pinctrl-names = "default"; 74 + pinctrl-0 = <&pinctrl_rgmii4_default>; 78 75 }; 79 76 80 - &emmc { 77 + &emmc_controller { 81 78 status = "okay"; 82 79 }; 83 80 81 + &emmc { 82 + non-removable; 83 + bus-width = <4>; 84 + max-frequency = <52000000>; 85 + }; 86 + 84 87 &rtc { 88 + status = "okay"; 89 + }; 90 + 91 + &fmc { 92 + status = "okay"; 93 + flash@0 { 94 + status = "okay"; 95 + m25p,fast-read; 96 + label = "bmc"; 97 + spi-max-frequency = <50000000>; 98 + 99 + partitions { 100 + compatible = "fixed-partitions"; 101 + #address-cells = <1>; 102 + #size-cells = <1>; 103 + 104 + u-boot@0 { 105 + reg = <0x0 0xe0000>; // 896KB 106 + label = "u-boot"; 107 + }; 108 + 109 + u-boot-env@e0000 { 110 + reg = <0xe0000 0x20000>; // 128KB 111 + label = "u-boot-env"; 112 + }; 113 + 114 + kernel@100000 { 115 + reg = <0x100000 0x900000>; // 9MB 116 + label = "kernel"; 117 + }; 118 + 119 + rofs@a00000 { 120 + reg = <0xa00000 0x2000000>; // 32MB 121 + label = "rofs"; 122 + }; 123 + 124 + rwfs@6000000 { 125 + reg = <0x2a00000 0x1600000>; // 22MB 126 + label = "rwfs"; 127 + }; 128 + }; 129 + }; 130 + }; 131 + 132 + &spi1 { 133 + status = "okay"; 134 + pinctrl-names = "default"; 135 + pinctrl-0 = <&pinctrl_spi1_default>; 136 + 137 + flash@0 { 138 + status = "okay"; 139 + m25p,fast-read; 140 + label = "pnor"; 141 + spi-max-frequency = <100000000>; 142 + }; 143 + }; 144 + 145 + &uart5 { 146 + // Workaround for A0 147 + compatible = "snps,dw-apb-uart"; 148 + }; 149 + 150 + &i2c0 { 151 + status = "okay"; 152 + 153 + temp@2e { 154 + compatible = "adi,adt7490"; 155 + reg = <0x2e>; 156 + }; 157 + }; 158 + 159 + &i2c1 { 160 + status = "okay"; 161 + }; 162 + 163 + &i2c2 { 164 + status = "okay"; 165 + }; 166 + 167 + &i2c3 { 168 + status = "okay"; 169 + }; 170 + 171 + &i2c4 { 172 + status = "okay"; 173 + }; 174 + 175 + &i2c5 { 176 + status = "okay"; 177 + }; 178 + 179 + &i2c6 { 180 + status = "okay"; 181 + }; 182 + 183 + &i2c7 { 184 + status = "okay"; 185 + }; 186 + 187 + &i2c8 { 188 + status = "okay"; 189 + }; 190 + 191 + &i2c9 { 192 + status = "okay"; 193 + }; 194 + 195 + &i2c12 { 196 + status = "okay"; 197 + }; 198 + 199 + &i2c13 { 200 + status = "okay"; 201 + }; 202 + 203 + &i2c14 { 204 + status = "okay"; 205 + }; 206 + 207 + &i2c15 { 85 208 status = "okay"; 86 209 };
+3
arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts
··· 92 92 status = "okay"; 93 93 pinctrl-names = "default"; 94 94 pinctrl-0 = <&pinctrl_rmii2_default>; 95 + clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>, 96 + <&syscon ASPEED_CLK_MAC2RCLK>; 97 + clock-names = "MACCLK", "RCLK"; 95 98 use-ncsi; 96 99 }; 97 100
+16 -50
arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts
··· 2 2 // Copyright (c) 2018 Facebook Inc. 3 3 /dts-v1/; 4 4 5 - #include "aspeed-g5.dtsi" 5 + #include "ast2500-facebook-netbmc-common.dtsi" 6 6 7 7 / { 8 8 model = "Facebook Backpack CMM BMC"; ··· 53 53 bootargs = "console=ttyS1,9600n8 root=/dev/ram rw earlyprintk"; 54 54 }; 55 55 56 - memory@80000000 { 57 - reg = <0x80000000 0x20000000>; 58 - }; 59 - 60 56 ast-adc-hwmon { 61 57 compatible = "iio-hwmon"; 62 58 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, ··· 60 64 }; 61 65 }; 62 66 63 - &pinctrl { 64 - aspeed,external-nodes = <&gfx &lhc>; 65 - }; 66 - 67 - /* 68 - * Update reset type to "system" (full chip) to fix warm reboot hang issue 69 - * when reset type is set to default ("soc", gated by reset mask registers). 70 - */ 71 - &wdt1 { 72 - status = "okay"; 73 - aspeed,reset-type = "system"; 74 - }; 75 - 76 - /* 77 - * wdt2 is not used by Backpack CMM. 78 - */ 79 - &wdt2 { 80 - status = "disabled"; 81 - }; 82 - 83 - &fmc { 84 - status = "okay"; 85 - flash@0 { 86 - status = "okay"; 87 - m25p,fast-read; 88 - label = "bmc"; 89 - #include "facebook-bmc-flash-layout.dtsi" 90 - }; 91 - }; 92 - 93 67 &uart1 { 94 - status = "okay"; 95 - pinctrl-names = "default"; 96 68 pinctrl-0 = <&pinctrl_txd1_default 97 69 &pinctrl_rxd1_default 98 70 &pinctrl_ncts1_default ··· 71 107 }; 72 108 73 109 &uart3 { 74 - status = "okay"; 75 - pinctrl-names = "default"; 76 110 pinctrl-0 = <&pinctrl_txd3_default 77 111 &pinctrl_rxd3_default 78 112 &pinctrl_ncts3_default ··· 83 121 pinctrl-names = "default"; 84 122 pinctrl-0 = <&pinctrl_txd4_default 85 123 &pinctrl_rxd4_default>; 86 - }; 87 - 88 - &uart5 { 89 - status = "okay"; 90 - }; 91 - 92 - &mac1 { 93 - status = "okay"; 94 - no-hw-checksum; 95 - pinctrl-names = "default"; 96 - pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 97 124 }; 98 125 99 126 /* ··· 330 379 331 380 &ehci1 { 332 381 status = "okay"; 382 + }; 383 + 384 + &vhub { 385 + status = "disabled"; 386 + }; 387 + 388 + &sdhci0 { 389 + status = "okay"; 390 + 391 + pinctrl-names = "default"; 392 + pinctrl-0 = <&pinctrl_sd1_default>; 393 + }; 394 + 395 + &sdhci1 { 396 + status = "disabled"; 333 397 };
+20 -41
arch/arm/boot/dts/aspeed-bmc-facebook-minipack.dts
··· 2 2 // Copyright (c) 2018 Facebook Inc. 3 3 /dts-v1/; 4 4 5 - #include "aspeed-g5.dtsi" 5 + #include "ast2500-facebook-netbmc-common.dtsi" 6 6 7 7 / { 8 8 model = "Facebook Minipack 100 BMC"; ··· 76 76 stdout-path = &uart1; 77 77 bootargs = "debug console=ttyS1,9600n8 root=/dev/ram rw"; 78 78 }; 79 - 80 - memory@80000000 { 81 - reg = <0x80000000 0x20000000>; 82 - }; 83 - }; 84 - 85 - &wdt1 { 86 - status = "okay"; 87 - aspeed,reset-type = "system"; 88 79 }; 89 80 90 81 &wdt2 { ··· 83 92 aspeed,reset-type = "system"; 84 93 }; 85 94 86 - &fmc { 87 - status = "okay"; 88 - flash@0 { 89 - status = "okay"; 90 - m25p,fast-read; 91 - label = "bmc"; 92 - #include "facebook-bmc-flash-layout.dtsi" 95 + /* 96 + * Both firmware flashes are 64MB on Minipack BMC. 97 + */ 98 + &fmc_flash0 { 99 + partitions { 100 + data0@1c00000 { 101 + reg = <0x1c00000 0x2400000>; 102 + }; 103 + flash0@0 { 104 + reg = <0x0 0x4000000>; 105 + }; 106 + }; 107 + }; 108 + 109 + &fmc_flash1 { 110 + partitions { 111 + flash1@0 { 112 + reg = <0x0 0x4000000>; 113 + }; 93 114 }; 94 115 }; 95 116 96 117 &uart1 { 97 - status = "okay"; 98 - pinctrl-names = "default"; 99 118 pinctrl-0 = <&pinctrl_txd1_default 100 119 &pinctrl_rxd1_default 101 120 &pinctrl_ncts1_default ··· 121 120 &pinctrl_rxd2_default>; 122 121 }; 123 122 124 - &uart3 { 125 - status = "okay"; 126 - pinctrl-names = "default"; 127 - pinctrl-0 = <&pinctrl_txd3_default 128 - &pinctrl_rxd3_default>; 129 - }; 130 - 131 123 &uart4 { 132 124 status = "okay"; 133 125 pinctrl-names = "default"; 134 126 pinctrl-0 = <&pinctrl_txd4_default 135 127 &pinctrl_rxd4_default>; 136 - }; 137 - 138 - &uart5 { 139 - status = "okay"; 140 - }; 141 - 142 - &mac1 { 143 - status = "okay"; 144 - no-hw-checksum; 145 - pinctrl-names = "default"; 146 - pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 147 128 }; 148 129 149 130 &i2c0 { ··· 404 421 }; 405 422 406 423 &i2c13 { 407 - status = "okay"; 408 - }; 409 - 410 - &vhub { 411 424 status = "okay"; 412 425 };
+3
arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
··· 126 126 127 127 pinctrl-names = "default"; 128 128 pinctrl-0 = <&pinctrl_rmii1_default>; 129 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 130 + <&syscon ASPEED_CLK_MAC1RCLK>; 131 + clock-names = "MACCLK", "RCLK"; 129 132 use-ncsi; 130 133 }; 131 134
+8 -57
arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts
··· 2 2 // Copyright (c) 2018 Facebook Inc. 3 3 /dts-v1/; 4 4 5 - #include "aspeed-g5.dtsi" 5 + #include "ast2500-facebook-netbmc-common.dtsi" 6 6 7 7 / { 8 8 model = "Facebook YAMP 100 BMC"; ··· 23 23 stdout-path = &uart5; 24 24 bootargs = "console=ttyS0,9600n8 root=/dev/ram rw"; 25 25 }; 26 - 27 - memory@80000000 { 28 - reg = <0x80000000 0x20000000>; 29 - }; 30 - }; 31 - 32 - &pinctrl { 33 - aspeed,external-nodes = <&gfx &lhc>; 34 - }; 35 - 36 - /* 37 - * Update reset type to "system" (full chip) to fix warm reboot hang issue 38 - * when reset type is set to default ("soc", gated by reset mask registers). 39 - */ 40 - &wdt1 { 41 - status = "okay"; 42 - aspeed,reset-type = "system"; 43 - }; 44 - 45 - /* 46 - * wdt2 is not used by Yamp. 47 - */ 48 - &wdt2 { 49 - status = "disabled"; 50 - }; 51 - 52 - &fmc { 53 - status = "okay"; 54 - flash@0 { 55 - status = "okay"; 56 - m25p,fast-read; 57 - label = "bmc"; 58 - #include "facebook-bmc-flash-layout.dtsi" 59 - }; 60 - }; 61 - 62 - &uart1 { 63 - status = "okay"; 64 - pinctrl-names = "default"; 65 - pinctrl-0 = <&pinctrl_txd1_default 66 - &pinctrl_rxd1_default>; 67 26 }; 68 27 69 28 &uart2 { ··· 32 73 &pinctrl_rxd2_default>; 33 74 }; 34 75 35 - &uart3 { 36 - status = "okay"; 37 - pinctrl-names = "default"; 38 - pinctrl-0 = <&pinctrl_txd3_default 39 - &pinctrl_rxd3_default>; 40 - }; 41 - 42 - &uart5 { 43 - status = "okay"; 44 - }; 45 - 46 76 &mac0 { 47 77 status = "okay"; 48 78 use-ncsi; 49 79 no-hw-checksum; 50 80 pinctrl-names = "default"; 51 81 pinctrl-0 = <&pinctrl_rmii1_default>; 82 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 83 + <&syscon ASPEED_CLK_MAC1RCLK>; 84 + clock-names = "MACCLK", "RCLK"; 85 + }; 86 + 87 + &mac1 { 88 + status = "disabled"; 52 89 }; 53 90 54 91 &i2c0 { ··· 107 152 }; 108 153 109 154 &i2c13 { 110 - status = "okay"; 111 - }; 112 - 113 - &vhub { 114 155 status = "okay"; 115 156 };
+972
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 2 + // Copyright 2019 IBM Corp. 3 + /dts-v1/; 4 + 5 + #include "aspeed-g6.dtsi" 6 + #include <dt-bindings/gpio/aspeed-gpio.h> 7 + 8 + / { 9 + model = "Rainier"; 10 + compatible = "ibm,rainier-bmc", "aspeed,ast2600"; 11 + 12 + aliases { 13 + serial4 = &uart5; 14 + }; 15 + 16 + chosen { 17 + stdout-path = &uart5; 18 + bootargs = "console=ttyS4,115200n8"; 19 + }; 20 + 21 + memory@80000000 { 22 + device_type = "memory"; 23 + reg = <0x80000000 0x40000000>; 24 + }; 25 + 26 + reserved-memory { 27 + #address-cells = <1>; 28 + #size-cells = <1>; 29 + ranges; 30 + 31 + flash_memory: region@B8000000 { 32 + no-map; 33 + reg = <0xB8000000 0x04000000>; /* 64M */ 34 + }; 35 + }; 36 + 37 + gpio-keys { 38 + compatible = "gpio-keys"; 39 + 40 + ps0-presence { 41 + label = "ps0-presence"; 42 + gpios = <&gpio0 ASPEED_GPIO(S, 0) GPIO_ACTIVE_LOW>; 43 + linux,code = <ASPEED_GPIO(S, 0)>; 44 + }; 45 + 46 + ps1-presence { 47 + label = "ps1-presence"; 48 + gpios = <&gpio0 ASPEED_GPIO(S, 1) GPIO_ACTIVE_LOW>; 49 + linux,code = <ASPEED_GPIO(S, 1)>; 50 + }; 51 + 52 + ps2-presence { 53 + label = "ps2-presence"; 54 + gpios = <&gpio0 ASPEED_GPIO(S, 2) GPIO_ACTIVE_LOW>; 55 + linux,code = <ASPEED_GPIO(S, 2)>; 56 + }; 57 + 58 + ps3-presence { 59 + label = "ps3-presence"; 60 + gpios = <&gpio0 ASPEED_GPIO(S, 3) GPIO_ACTIVE_LOW>; 61 + linux,code = <ASPEED_GPIO(S, 3)>; 62 + }; 63 + }; 64 + 65 + }; 66 + 67 + &emmc_controller { 68 + status = "okay"; 69 + }; 70 + 71 + &emmc { 72 + status = "okay"; 73 + }; 74 + 75 + &ibt { 76 + status = "okay"; 77 + }; 78 + 79 + &i2c0 { 80 + status = "okay"; 81 + 82 + eeprom@51 { 83 + compatible = "atmel,24c64"; 84 + reg = <0x51>; 85 + }; 86 + }; 87 + 88 + &i2c1 { 89 + status = "okay"; 90 + }; 91 + 92 + &i2c2 { 93 + status = "okay"; 94 + }; 95 + 96 + &i2c3 { 97 + status = "okay"; 98 + 99 + power-supply@68 { 100 + compatible = "ibm,cffps2"; 101 + reg = <0x68>; 102 + }; 103 + 104 + power-supply@69 { 105 + compatible = "ibm,cffps2"; 106 + reg = <0x69>; 107 + }; 108 + 109 + power-supply@6a { 110 + compatible = "ibm,cffps2"; 111 + reg = <0x6a>; 112 + }; 113 + 114 + power-supply@6b { 115 + compatible = "ibm,cffps2"; 116 + reg = <0x6b>; 117 + }; 118 + }; 119 + 120 + &i2c4 { 121 + status = "okay"; 122 + 123 + tmp275@48 { 124 + compatible = "ti,tmp275"; 125 + reg = <0x48>; 126 + }; 127 + 128 + tmp275@49 { 129 + compatible = "ti,tmp275"; 130 + reg = <0x49>; 131 + }; 132 + 133 + tmp275@4a { 134 + compatible = "ti,tmp275"; 135 + reg = <0x4a>; 136 + }; 137 + 138 + eeprom@50 { 139 + compatible = "atmel,24c64"; 140 + reg = <0x50>; 141 + }; 142 + 143 + eeprom@51 { 144 + compatible = "atmel,24c64"; 145 + reg = <0x51>; 146 + }; 147 + 148 + eeprom@52 { 149 + compatible = "atmel,24c64"; 150 + reg = <0x52>; 151 + }; 152 + }; 153 + 154 + &i2c5 { 155 + status = "okay"; 156 + 157 + tmp275@48 { 158 + compatible = "ti,tmp275"; 159 + reg = <0x48>; 160 + }; 161 + 162 + tmp275@49 { 163 + compatible = "ti,tmp275"; 164 + reg = <0x49>; 165 + }; 166 + 167 + eeprom@50 { 168 + compatible = "atmel,24c64"; 169 + reg = <0x50>; 170 + }; 171 + 172 + eeprom@51 { 173 + compatible = "atmel,24c64"; 174 + reg = <0x51>; 175 + }; 176 + }; 177 + 178 + &i2c6 { 179 + status = "okay"; 180 + 181 + tmp275@48 { 182 + compatible = "ti,tmp275"; 183 + reg = <0x48>; 184 + }; 185 + 186 + tmp275@4a { 187 + compatible = "ti,tmp275"; 188 + reg = <0x4a>; 189 + }; 190 + 191 + tmp275@4b { 192 + compatible = "ti,tmp275"; 193 + reg = <0x4b>; 194 + }; 195 + 196 + eeprom@50 { 197 + compatible = "atmel,24c64"; 198 + reg = <0x50>; 199 + }; 200 + 201 + eeprom@51 { 202 + compatible = "atmel,24c64"; 203 + reg = <0x51>; 204 + }; 205 + 206 + eeprom@52 { 207 + compatible = "atmel,24c64"; 208 + reg = <0x52>; 209 + }; 210 + 211 + eeprom@53 { 212 + compatible = "atmel,24c64"; 213 + reg = <0x53>; 214 + }; 215 + }; 216 + 217 + &i2c7 { 218 + status = "okay"; 219 + 220 + si7021-a20@20 { 221 + compatible = "silabs,si7020"; 222 + reg = <0x20>; 223 + }; 224 + 225 + tmp275@48 { 226 + compatible = "ti,tmp275"; 227 + reg = <0x48>; 228 + }; 229 + 230 + max31785@52 { 231 + compatible = "maxim,max31785a"; 232 + reg = <0x52>; 233 + #address-cells = <1>; 234 + #size-cells = <0>; 235 + 236 + fan@0 { 237 + compatible = "pmbus-fan"; 238 + reg = <0>; 239 + tach-pulses = <2>; 240 + }; 241 + 242 + fan@1 { 243 + compatible = "pmbus-fan"; 244 + reg = <1>; 245 + tach-pulses = <2>; 246 + }; 247 + 248 + fan@2 { 249 + compatible = "pmbus-fan"; 250 + reg = <2>; 251 + tach-pulses = <2>; 252 + }; 253 + 254 + fan@3 { 255 + compatible = "pmbus-fan"; 256 + reg = <3>; 257 + tach-pulses = <2>; 258 + }; 259 + }; 260 + 261 + pca0: pca9552@60 { 262 + compatible = "nxp,pca9552"; 263 + reg = <0x60>; 264 + #address-cells = <1>; 265 + #size-cells = <0>; 266 + 267 + gpio-controller; 268 + #gpio-cells = <2>; 269 + 270 + gpio@0 { 271 + reg = <0>; 272 + }; 273 + 274 + gpio@1 { 275 + reg = <1>; 276 + }; 277 + 278 + gpio@2 { 279 + reg = <2>; 280 + }; 281 + 282 + gpio@3 { 283 + reg = <3>; 284 + }; 285 + 286 + gpio@4 { 287 + reg = <4>; 288 + }; 289 + 290 + gpio@5 { 291 + reg = <5>; 292 + }; 293 + 294 + gpio@6 { 295 + reg = <6>; 296 + }; 297 + 298 + gpio@7 { 299 + reg = <7>; 300 + }; 301 + 302 + gpio@8 { 303 + reg = <8>; 304 + }; 305 + 306 + gpio@9 { 307 + reg = <9>; 308 + }; 309 + 310 + gpio@10 { 311 + reg = <10>; 312 + }; 313 + 314 + gpio@11 { 315 + reg = <11>; 316 + }; 317 + 318 + gpio@12 { 319 + reg = <12>; 320 + }; 321 + 322 + gpio@13 { 323 + reg = <13>; 324 + }; 325 + 326 + gpio@14 { 327 + reg = <14>; 328 + }; 329 + 330 + gpio@15 { 331 + reg = <15>; 332 + }; 333 + }; 334 + 335 + dps: dps310@76 { 336 + compatible = "infineon,dps310"; 337 + reg = <0x76>; 338 + #io-channel-cells = <0>; 339 + }; 340 + 341 + eeprom@50 { 342 + compatible = "atmel,24c64"; 343 + reg = <0x50>; 344 + }; 345 + 346 + eeprom@51 { 347 + compatible = "atmel,24c64"; 348 + reg = <0x51>; 349 + }; 350 + }; 351 + 352 + &i2c8 { 353 + status = "okay"; 354 + 355 + ucd90320@b { 356 + compatible = "ti,ucd90160"; 357 + reg = <0x0b>; 358 + }; 359 + 360 + ucd90320@c { 361 + compatible = "ti,ucd90160"; 362 + reg = <0x0c>; 363 + }; 364 + 365 + ucd90320@11 { 366 + compatible = "ti,ucd90160"; 367 + reg = <0x11>; 368 + }; 369 + 370 + rtc@32 { 371 + compatible = "epson,rx8900"; 372 + reg = <0x32>; 373 + }; 374 + 375 + tmp275@48 { 376 + compatible = "ti,tmp275"; 377 + reg = <0x48>; 378 + }; 379 + 380 + tmp275@4a { 381 + compatible = "ti,tmp275"; 382 + reg = <0x4a>; 383 + }; 384 + 385 + eeprom@50 { 386 + compatible = "atmel,24c64"; 387 + reg = <0x50>; 388 + }; 389 + 390 + eeprom@51 { 391 + compatible = "atmel,24c64"; 392 + reg = <0x51>; 393 + }; 394 + }; 395 + 396 + &i2c9 { 397 + status = "okay"; 398 + 399 + ir35221@42 { 400 + compatible = "infineon,ir35221"; 401 + reg = <0x42>; 402 + }; 403 + 404 + ir35221@43 { 405 + compatible = "infineon,ir35221"; 406 + reg = <0x43>; 407 + }; 408 + 409 + ir35221@44 { 410 + compatible = "infineon,ir35221"; 411 + reg = <0x44>; 412 + }; 413 + 414 + tmp423a@4c { 415 + compatible = "ti,tmp423"; 416 + reg = <0x4c>; 417 + }; 418 + 419 + tmp423b@4d { 420 + compatible = "ti,tmp423"; 421 + reg = <0x4d>; 422 + }; 423 + 424 + ir35221@72 { 425 + compatible = "infineon,ir35221"; 426 + reg = <0x72>; 427 + }; 428 + 429 + ir35221@73 { 430 + compatible = "infineon,ir35221"; 431 + reg = <0x73>; 432 + }; 433 + 434 + ir35221@74 { 435 + compatible = "infineon,ir35221"; 436 + reg = <0x74>; 437 + }; 438 + 439 + eeprom@50 { 440 + compatible = "atmel,24c128"; 441 + reg = <0x50>; 442 + }; 443 + }; 444 + 445 + &i2c10 { 446 + status = "okay"; 447 + 448 + ir35221@42 { 449 + compatible = "infineon,ir35221"; 450 + reg = <0x42>; 451 + }; 452 + 453 + ir35221@43 { 454 + compatible = "infineon,ir35221"; 455 + reg = <0x43>; 456 + }; 457 + 458 + ir35221@44 { 459 + compatible = "infineon,ir35221"; 460 + reg = <0x44>; 461 + }; 462 + 463 + tmp423a@4c { 464 + compatible = "ti,tmp423"; 465 + reg = <0x4c>; 466 + }; 467 + 468 + tmp423b@4d { 469 + compatible = "ti,tmp423"; 470 + reg = <0x4d>; 471 + }; 472 + 473 + ir35221@72 { 474 + compatible = "infineon,ir35221"; 475 + reg = <0x72>; 476 + }; 477 + 478 + ir35221@73 { 479 + compatible = "infineon,ir35221"; 480 + reg = <0x73>; 481 + }; 482 + 483 + ir35221@74 { 484 + compatible = "infineon,ir35221"; 485 + reg = <0x74>; 486 + }; 487 + 488 + eeprom@50 { 489 + compatible = "atmel,24c128"; 490 + reg = <0x50>; 491 + }; 492 + }; 493 + 494 + &i2c11 { 495 + status = "okay"; 496 + 497 + tmp275@48 { 498 + compatible = "ti,tmp275"; 499 + reg = <0x48>; 500 + }; 501 + 502 + tmp275@49 { 503 + compatible = "ti,tmp275"; 504 + reg = <0x49>; 505 + }; 506 + 507 + eeprom@50 { 508 + compatible = "atmel,24c64"; 509 + reg = <0x50>; 510 + }; 511 + 512 + eeprom@51 { 513 + compatible = "atmel,24c64"; 514 + reg = <0x51>; 515 + }; 516 + }; 517 + 518 + &i2c12 { 519 + status = "okay"; 520 + }; 521 + 522 + &i2c13 { 523 + status = "okay"; 524 + }; 525 + 526 + &i2c14 { 527 + status = "okay"; 528 + }; 529 + 530 + &i2c15 { 531 + status = "okay"; 532 + }; 533 + 534 + &i2c0 { 535 + status = "okay"; 536 + }; 537 + 538 + &i2c1 { 539 + status = "okay"; 540 + }; 541 + 542 + &i2c2 { 543 + status = "okay"; 544 + }; 545 + 546 + &i2c3 { 547 + status = "okay"; 548 + 549 + power-supply@68 { 550 + compatible = "ibm,cffps2"; 551 + reg = <0x68>; 552 + }; 553 + 554 + power-supply@69 { 555 + compatible = "ibm,cffps2"; 556 + reg = <0x69>; 557 + }; 558 + 559 + power-supply@6a { 560 + compatible = "ibm,cffps2"; 561 + reg = <0x6a>; 562 + }; 563 + 564 + power-supply@6b { 565 + compatible = "ibm,cffps2"; 566 + reg = <0x6b>; 567 + }; 568 + }; 569 + 570 + &i2c4 { 571 + status = "okay"; 572 + 573 + tmp275@48 { 574 + compatible = "ti,tmp275"; 575 + reg = <0x48>; 576 + }; 577 + 578 + tmp275@49 { 579 + compatible = "ti,tmp275"; 580 + reg = <0x49>; 581 + }; 582 + 583 + tmp275@4a { 584 + compatible = "ti,tmp275"; 585 + reg = <0x4a>; 586 + }; 587 + }; 588 + 589 + &i2c5 { 590 + status = "okay"; 591 + 592 + tmp275@48 { 593 + compatible = "ti,tmp275"; 594 + reg = <0x48>; 595 + }; 596 + 597 + tmp275@49 { 598 + compatible = "ti,tmp275"; 599 + reg = <0x49>; 600 + }; 601 + }; 602 + 603 + &i2c6 { 604 + status = "okay"; 605 + 606 + tmp275@48 { 607 + compatible = "ti,tmp275"; 608 + reg = <0x48>; 609 + }; 610 + 611 + tmp275@4a { 612 + compatible = "ti,tmp275"; 613 + reg = <0x4a>; 614 + }; 615 + 616 + tmp275@4b { 617 + compatible = "ti,tmp275"; 618 + reg = <0x4b>; 619 + }; 620 + }; 621 + 622 + &i2c7 { 623 + status = "okay"; 624 + 625 + si7021-a20@20 { 626 + compatible = "silabs,si7020"; 627 + reg = <0x20>; 628 + }; 629 + 630 + tmp275@48 { 631 + compatible = "ti,tmp275"; 632 + reg = <0x48>; 633 + }; 634 + 635 + max31785@52 { 636 + compatible = "maxim,max31785a"; 637 + reg = <0x52>; 638 + #address-cells = <1>; 639 + #size-cells = <0>; 640 + 641 + fan@0 { 642 + compatible = "pmbus-fan"; 643 + reg = <0>; 644 + tach-pulses = <2>; 645 + }; 646 + 647 + fan@1 { 648 + compatible = "pmbus-fan"; 649 + reg = <1>; 650 + tach-pulses = <2>; 651 + }; 652 + 653 + fan@2 { 654 + compatible = "pmbus-fan"; 655 + reg = <2>; 656 + tach-pulses = <2>; 657 + }; 658 + 659 + fan@3 { 660 + compatible = "pmbus-fan"; 661 + reg = <3>; 662 + tach-pulses = <2>; 663 + }; 664 + }; 665 + 666 + pca0: pca9552@60 { 667 + compatible = "nxp,pca9552"; 668 + reg = <0x60>; 669 + #address-cells = <1>; 670 + #size-cells = <0>; 671 + 672 + gpio-controller; 673 + #gpio-cells = <2>; 674 + 675 + gpio@0 { 676 + reg = <0>; 677 + }; 678 + 679 + gpio@1 { 680 + reg = <1>; 681 + }; 682 + 683 + gpio@2 { 684 + reg = <2>; 685 + }; 686 + 687 + gpio@3 { 688 + reg = <3>; 689 + }; 690 + 691 + gpio@4 { 692 + reg = <4>; 693 + }; 694 + 695 + gpio@5 { 696 + reg = <5>; 697 + }; 698 + 699 + gpio@6 { 700 + reg = <6>; 701 + }; 702 + 703 + gpio@7 { 704 + reg = <7>; 705 + }; 706 + 707 + gpio@8 { 708 + reg = <8>; 709 + }; 710 + 711 + gpio@9 { 712 + reg = <9>; 713 + }; 714 + 715 + gpio@10 { 716 + reg = <10>; 717 + }; 718 + 719 + gpio@11 { 720 + reg = <11>; 721 + }; 722 + 723 + gpio@12 { 724 + reg = <12>; 725 + }; 726 + 727 + gpio@13 { 728 + reg = <13>; 729 + }; 730 + 731 + gpio@14 { 732 + reg = <14>; 733 + }; 734 + 735 + gpio@15 { 736 + reg = <15>; 737 + }; 738 + }; 739 + 740 + dps: dps310@76 { 741 + compatible = "infineon,dps310"; 742 + reg = <0x76>; 743 + #io-channel-cells = <0>; 744 + }; 745 + }; 746 + 747 + &i2c8 { 748 + status = "okay"; 749 + 750 + ucd90320@b { 751 + compatible = "ti,ucd90160"; 752 + reg = <0x0b>; 753 + }; 754 + 755 + ucd90320@c { 756 + compatible = "ti,ucd90160"; 757 + reg = <0x0c>; 758 + }; 759 + 760 + ucd90320@11 { 761 + compatible = "ti,ucd90160"; 762 + reg = <0x11>; 763 + }; 764 + 765 + rtc@32 { 766 + compatible = "epson,rx8900"; 767 + reg = <0x32>; 768 + }; 769 + 770 + tmp275@48 { 771 + compatible = "ti,tmp275"; 772 + reg = <0x48>; 773 + }; 774 + 775 + tmp275@4a { 776 + compatible = "ti,tmp275"; 777 + reg = <0x4a>; 778 + }; 779 + }; 780 + 781 + &i2c9 { 782 + status = "okay"; 783 + 784 + ir35221@42 { 785 + compatible = "infineon,ir35221"; 786 + reg = <0x42>; 787 + }; 788 + 789 + ir35221@43 { 790 + compatible = "infineon,ir35221"; 791 + reg = <0x43>; 792 + }; 793 + 794 + ir35221@44 { 795 + compatible = "infineon,ir35221"; 796 + reg = <0x44>; 797 + }; 798 + 799 + tmp423a@4c { 800 + compatible = "ti,tmp423"; 801 + reg = <0x4c>; 802 + }; 803 + 804 + tmp423b@4d { 805 + compatible = "ti,tmp423"; 806 + reg = <0x4d>; 807 + }; 808 + 809 + ir35221@72 { 810 + compatible = "infineon,ir35221"; 811 + reg = <0x72>; 812 + }; 813 + 814 + ir35221@73 { 815 + compatible = "infineon,ir35221"; 816 + reg = <0x73>; 817 + }; 818 + 819 + ir35221@74 { 820 + compatible = "infineon,ir35221"; 821 + reg = <0x74>; 822 + }; 823 + }; 824 + 825 + &i2c10 { 826 + status = "okay"; 827 + 828 + ir35221@42 { 829 + compatible = "infineon,ir35221"; 830 + reg = <0x42>; 831 + }; 832 + 833 + ir35221@43 { 834 + compatible = "infineon,ir35221"; 835 + reg = <0x43>; 836 + }; 837 + 838 + ir35221@44 { 839 + compatible = "infineon,ir35221"; 840 + reg = <0x44>; 841 + }; 842 + 843 + tmp423a@4c { 844 + compatible = "ti,tmp423"; 845 + reg = <0x4c>; 846 + }; 847 + 848 + tmp423b@4d { 849 + compatible = "ti,tmp423"; 850 + reg = <0x4d>; 851 + }; 852 + 853 + ir35221@72 { 854 + compatible = "infineon,ir35221"; 855 + reg = <0x72>; 856 + }; 857 + 858 + ir35221@73 { 859 + compatible = "infineon,ir35221"; 860 + reg = <0x73>; 861 + }; 862 + 863 + ir35221@74 { 864 + compatible = "infineon,ir35221"; 865 + reg = <0x74>; 866 + }; 867 + }; 868 + 869 + &i2c11 { 870 + status = "okay"; 871 + 872 + tmp275@48 { 873 + compatible = "ti,tmp275"; 874 + reg = <0x48>; 875 + }; 876 + 877 + tmp275@49 { 878 + compatible = "ti,tmp275"; 879 + reg = <0x49>; 880 + }; 881 + }; 882 + 883 + &i2c12 { 884 + status = "okay"; 885 + }; 886 + 887 + &i2c13 { 888 + status = "okay"; 889 + 890 + eeprom@50 { 891 + compatible = "atmel,24c64"; 892 + reg = <0x50>; 893 + }; 894 + }; 895 + 896 + &i2c14 { 897 + status = "okay"; 898 + 899 + eeprom@50 { 900 + compatible = "atmel,24c64"; 901 + reg = <0x50>; 902 + }; 903 + }; 904 + 905 + &i2c15 { 906 + status = "okay"; 907 + 908 + eeprom@50 { 909 + compatible = "atmel,24c64"; 910 + reg = <0x50>; 911 + }; 912 + }; 913 + 914 + &vuart1 { 915 + status = "okay"; 916 + }; 917 + 918 + &lpc_ctrl { 919 + status = "okay"; 920 + memory-region = <&flash_memory>; 921 + }; 922 + 923 + &mac2 { 924 + status = "okay"; 925 + pinctrl-names = "default"; 926 + pinctrl-0 = <&pinctrl_rmii3_default>; 927 + clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>, 928 + <&syscon ASPEED_CLK_MAC3RCLK>; 929 + clock-names = "MACCLK", "RCLK"; 930 + use-ncsi; 931 + }; 932 + 933 + &mac3 { 934 + status = "okay"; 935 + pinctrl-names = "default"; 936 + pinctrl-0 = <&pinctrl_rmii4_default>; 937 + clocks = <&syscon ASPEED_CLK_GATE_MAC4CLK>, 938 + <&syscon ASPEED_CLK_MAC4RCLK>; 939 + clock-names = "MACCLK", "RCLK"; 940 + use-ncsi; 941 + }; 942 + 943 + &fmc { 944 + status = "okay"; 945 + flash@0 { 946 + status = "okay"; 947 + m25p,fast-read; 948 + label = "bmc"; 949 + spi-max-frequency = <50000000>; 950 + #include "openbmc-flash-layout-128.dtsi" 951 + }; 952 + 953 + flash@1 { 954 + status = "okay"; 955 + m25p,fast-read; 956 + label = "alt-bmc"; 957 + spi-max-frequency = <50000000>; 958 + }; 959 + }; 960 + 961 + &spi1 { 962 + status = "okay"; 963 + pinctrl-names = "default"; 964 + pinctrl-0 = <&pinctrl_spi1_default>; 965 + 966 + flash@0 { 967 + status = "okay"; 968 + m25p,fast-read; 969 + label = "pnor"; 970 + spi-max-frequency = <100000000>; 971 + }; 972 + };
+43 -15
arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts
··· 148 148 }; 149 149 150 150 leds { 151 - compatible = "gpio-leds"; 151 + compatible = "gpio-leds"; 152 152 153 - power { 154 - label = "power"; 155 - /* TODO: dummy gpio */ 156 - gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>; 157 - }; 153 + power { 154 + label = "power"; 155 + /* TODO: dummy gpio */ 156 + gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>; 157 + }; 158 158 159 + init-ok { 160 + label = "init-ok"; 161 + gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>; 162 + }; 163 + 164 + front-memory { 165 + label = "front-memory"; 166 + gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>; 167 + }; 168 + 169 + front-syshot { 170 + label = "front-syshot"; 171 + gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>; 172 + }; 173 + 174 + front-syshealth { 175 + label = "front-syshealth"; 176 + gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; 177 + }; 178 + 179 + front-fan { 180 + label = "front-fan"; 181 + gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; 182 + }; 183 + 184 + front-psu { 185 + label = "front-psu"; 186 + gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>; 187 + }; 188 + 189 + identify { 190 + label = "identify"; 191 + gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>; 192 + }; 159 193 }; 160 194 161 195 iio-hwmon-battery { ··· 273 239 status = "okay"; 274 240 pinctrl-names = "default"; 275 241 pinctrl-0 = <&pinctrl_rmii1_default>; 242 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 243 + <&syscon ASPEED_CLK_MAC1RCLK>; 244 + clock-names = "MACCLK", "RCLK"; 276 245 use-ncsi; 277 246 }; 278 247 ··· 784 747 785 748 &pinctrl { 786 749 aspeed,external-nodes = <&gfx &lhc>; 787 - }; 788 - 789 - &gpio { 790 - pin_gpio_b7 { 791 - gpio-hog; 792 - gpios = <ASPEED_GPIO(B,7) GPIO_ACTIVE_LOW>; 793 - output-high; 794 - line-name = "BMC_INIT_OK"; 795 - }; 796 750 }; 797 751 798 752 &wdt1 {
+3
arch/arm/boot/dts/aspeed-bmc-inspur-on5263m5.dts
··· 77 77 78 78 pinctrl-names = "default"; 79 79 pinctrl-0 = <&pinctrl_rmii1_default>; 80 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 81 + <&syscon ASPEED_CLK_MAC1RCLK>; 82 + clock-names = "MACCLK", "RCLK"; 80 83 use-ncsi; 81 84 }; 82 85
+3
arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts
··· 69 69 70 70 pinctrl-names = "default"; 71 71 pinctrl-0 = <&pinctrl_rmii1_default>; 72 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 73 + <&syscon ASPEED_CLK_MAC1RCLK>; 74 + clock-names = "MACCLK", "RCLK"; 72 75 use-ncsi; 73 76 }; 74 77
+3
arch/arm/boot/dts/aspeed-bmc-lenovo-hr630.dts
··· 133 133 134 134 pinctrl-names = "default"; 135 135 pinctrl-0 = <&pinctrl_rmii1_default>; 136 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 137 + <&syscon ASPEED_CLK_MAC1RCLK>; 138 + clock-names = "MACCLK", "RCLK"; 136 139 use-ncsi; 137 140 }; 138 141
+3
arch/arm/boot/dts/aspeed-bmc-lenovo-hr855xg2.dts
··· 139 139 status = "okay"; 140 140 pinctrl-names = "default"; 141 141 pinctrl-0 = <&pinctrl_rmii1_default>; 142 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 143 + <&syscon ASPEED_CLK_MAC1RCLK>; 144 + clock-names = "MACCLK", "RCLK"; 142 145 use-ncsi; 143 146 }; 144 147
+3
arch/arm/boot/dts/aspeed-bmc-opp-lanyang.dts
··· 178 178 179 179 pinctrl-names = "default"; 180 180 pinctrl-0 = <&pinctrl_rmii1_default>; 181 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 182 + <&syscon ASPEED_CLK_MAC1RCLK>; 183 + clock-names = "MACCLK", "RCLK"; 181 184 use-ncsi; 182 185 }; 183 186
+3
arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts
··· 449 449 450 450 pinctrl-names = "default"; 451 451 pinctrl-0 = <&pinctrl_rmii1_default>; 452 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 453 + <&syscon ASPEED_CLK_MAC1RCLK>; 454 + clock-names = "MACCLK", "RCLK"; 452 455 use-ncsi; 453 456 }; 454 457
+2
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
··· 87 87 status = "okay"; 88 88 m25p,fast-read; 89 89 label = "bmc"; 90 + spi-max-frequency = <50000000>; 90 91 #include "openbmc-flash-layout.dtsi" 91 92 }; 92 93 }; ··· 100 99 flash@0 { 101 100 status = "okay"; 102 101 m25p,fast-read; 102 + spi-max-frequency = <50000000>; 103 103 label = "pnor"; 104 104 }; 105 105 };
+5
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
··· 112 112 status = "okay"; 113 113 m25p,fast-read; 114 114 label = "bmc"; 115 + spi-max-frequency = <50000000>; 115 116 #include "openbmc-flash-layout.dtsi" 116 117 }; 117 118 }; ··· 126 125 status = "okay"; 127 126 m25p,fast-read; 128 127 label = "pnor"; 128 + spi-max-frequency = <100000000>; 129 129 }; 130 130 }; 131 131 ··· 162 160 163 161 pinctrl-names = "default"; 164 162 pinctrl-0 = <&pinctrl_rmii1_default>; 163 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 164 + <&syscon ASPEED_CLK_MAC1RCLK>; 165 + clock-names = "MACCLK", "RCLK"; 165 166 }; 166 167 167 168 &i2c1 {
+3
arch/arm/boot/dts/aspeed-bmc-opp-swift.dts
··· 322 322 pinctrl-names = "default"; 323 323 pinctrl-0 = <&pinctrl_rmii1_default>; 324 324 use-ncsi; 325 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 326 + <&syscon ASPEED_CLK_MAC1RCLK>; 327 + clock-names = "MACCLK", "RCLK"; 325 328 }; 326 329 327 330 &i2c2 {
+1195
arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later 2 + // Copyright 2019 IBM Corp. 3 + /dts-v1/; 4 + 5 + #include "aspeed-g6.dtsi" 6 + #include <dt-bindings/gpio/aspeed-gpio.h> 7 + #include <dt-bindings/leds/leds-pca955x.h> 8 + 9 + / { 10 + model = "Tacoma"; 11 + compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; 12 + 13 + chosen { 14 + stdout-path = &uart5; 15 + bootargs = "console=ttyS4,115200n8"; 16 + }; 17 + 18 + memory@80000000 { 19 + device_type = "memory"; 20 + reg = <0x80000000 0x40000000>; 21 + }; 22 + 23 + reserved-memory { 24 + #address-cells = <1>; 25 + #size-cells = <1>; 26 + ranges; 27 + 28 + flash_memory: region@ba000000 { 29 + no-map; 30 + reg = <0xb8000000 0x4000000>; /* 64M */ 31 + }; 32 + }; 33 + 34 + gpio-keys { 35 + compatible = "gpio-keys"; 36 + 37 + air-water { 38 + label = "air-water"; 39 + gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_LOW>; 40 + linux,code = <ASPEED_GPIO(Q, 7)>; 41 + }; 42 + 43 + checkstop { 44 + label = "checkstop"; 45 + gpios = <&gpio0 ASPEED_GPIO(E, 3) GPIO_ACTIVE_LOW>; 46 + linux,code = <ASPEED_GPIO(E, 3)>; 47 + }; 48 + 49 + ps0-presence { 50 + label = "ps0-presence"; 51 + gpios = <&gpio0 ASPEED_GPIO(H, 3) GPIO_ACTIVE_LOW>; 52 + linux,code = <ASPEED_GPIO(H, 3)>; 53 + }; 54 + 55 + ps1-presence { 56 + label = "ps1-presence"; 57 + gpios = <&gpio0 ASPEED_GPIO(E, 5) GPIO_ACTIVE_LOW>; 58 + linux,code = <ASPEED_GPIO(E, 5)>; 59 + }; 60 + }; 61 + 62 + gpio-keys-polled { 63 + compatible = "gpio-keys-polled"; 64 + #address-cells = <1>; 65 + #size-cells = <0>; 66 + poll-interval = <1000>; 67 + 68 + fan0-presence { 69 + label = "fan0-presence"; 70 + gpios = <&pca0 4 GPIO_ACTIVE_LOW>; 71 + linux,code = <4>; 72 + }; 73 + 74 + fan1-presence { 75 + label = "fan1-presence"; 76 + gpios = <&pca0 5 GPIO_ACTIVE_LOW>; 77 + linux,code = <5>; 78 + }; 79 + 80 + fan2-presence { 81 + label = "fan2-presence"; 82 + gpios = <&pca0 6 GPIO_ACTIVE_LOW>; 83 + linux,code = <6>; 84 + }; 85 + 86 + fan3-presence { 87 + label = "fan3-presence"; 88 + gpios = <&pca0 7 GPIO_ACTIVE_LOW>; 89 + linux,code = <7>; 90 + }; 91 + }; 92 + }; 93 + 94 + &fmc { 95 + status = "okay"; 96 + flash@0 { 97 + status = "okay"; 98 + m25p,fast-read; 99 + label = "bmc"; 100 + spi-max-frequency = <50000000>; 101 + #include "openbmc-flash-layout-128.dtsi" 102 + }; 103 + 104 + flash@1 { 105 + status = "okay"; 106 + m25p,fast-read; 107 + label = "alt-bmc"; 108 + spi-max-frequency = <50000000>; 109 + }; 110 + }; 111 + 112 + &spi1 { 113 + status = "okay"; 114 + pinctrl-names = "default"; 115 + pinctrl-0 = <&pinctrl_spi1_default>; 116 + 117 + flash@0 { 118 + status = "okay"; 119 + m25p,fast-read; 120 + label = "pnor"; 121 + spi-max-frequency = <100000000>; 122 + }; 123 + }; 124 + 125 + &fmc { 126 + status = "okay"; 127 + flash@0 { 128 + status = "okay"; 129 + m25p,fast-read; 130 + label = "bmc"; 131 + spi-max-frequency = <50000000>; 132 + #include "openbmc-flash-layout-128.dtsi" 133 + }; 134 + 135 + flash@1 { 136 + status = "okay"; 137 + m25p,fast-read; 138 + label = "alt-bmc"; 139 + spi-max-frequency = <50000000>; 140 + }; 141 + }; 142 + 143 + &spi1 { 144 + status = "okay"; 145 + pinctrl-names = "default"; 146 + pinctrl-0 = <&pinctrl_spi1_default>; 147 + 148 + flash@0 { 149 + status = "okay"; 150 + m25p,fast-read; 151 + label = "pnor"; 152 + spi-max-frequency = <100000000>; 153 + }; 154 + }; 155 + 156 + &mac2 { 157 + status = "okay"; 158 + pinctrl-names = "default"; 159 + pinctrl-0 = <&pinctrl_rmii3_default>; 160 + clocks = <&syscon ASPEED_CLK_GATE_MAC3CLK>, 161 + <&syscon ASPEED_CLK_MAC3RCLK>; 162 + clock-names = "MACCLK", "RCLK"; 163 + use-ncsi; 164 + }; 165 + 166 + &emmc { 167 + status = "okay"; 168 + #address-cells = <2>; 169 + #size-cells = <0>; 170 + 171 + cfam@0,0 { 172 + reg = <0 0>; 173 + #address-cells = <1>; 174 + #size-cells = <1>; 175 + chip-id = <0>; 176 + 177 + scom@1000 { 178 + compatible = "ibm,fsi2pib"; 179 + reg = <0x1000 0x400>; 180 + }; 181 + 182 + i2c@1800 { 183 + compatible = "ibm,fsi-i2c-master"; 184 + reg = <0x1800 0x400>; 185 + #address-cells = <1>; 186 + #size-cells = <0>; 187 + 188 + cfam0_i2c0: i2c-bus@0 { 189 + reg = <0>; 190 + }; 191 + 192 + cfam0_i2c1: i2c-bus@1 { 193 + reg = <1>; 194 + }; 195 + 196 + cfam0_i2c2: i2c-bus@2 { 197 + reg = <2>; 198 + }; 199 + 200 + cfam0_i2c3: i2c-bus@3 { 201 + reg = <3>; 202 + }; 203 + 204 + cfam0_i2c4: i2c-bus@4 { 205 + reg = <4>; 206 + }; 207 + 208 + cfam0_i2c5: i2c-bus@5 { 209 + reg = <5>; 210 + }; 211 + 212 + cfam0_i2c6: i2c-bus@6 { 213 + reg = <6>; 214 + }; 215 + 216 + cfam0_i2c7: i2c-bus@7 { 217 + reg = <7>; 218 + }; 219 + 220 + cfam0_i2c8: i2c-bus@8 { 221 + reg = <8>; 222 + }; 223 + 224 + cfam0_i2c9: i2c-bus@9 { 225 + reg = <9>; 226 + }; 227 + 228 + cfam0_i2c10: i2c-bus@a { 229 + reg = <10>; 230 + }; 231 + 232 + cfam0_i2c11: i2c-bus@b { 233 + reg = <11>; 234 + }; 235 + 236 + cfam0_i2c12: i2c-bus@c { 237 + reg = <12>; 238 + }; 239 + 240 + cfam0_i2c13: i2c-bus@d { 241 + reg = <13>; 242 + }; 243 + 244 + cfam0_i2c14: i2c-bus@e { 245 + reg = <14>; 246 + }; 247 + }; 248 + 249 + sbefifo@2400 { 250 + compatible = "ibm,p9-sbefifo"; 251 + reg = <0x2400 0x400>; 252 + #address-cells = <1>; 253 + #size-cells = <0>; 254 + 255 + fsi_occ0: occ { 256 + compatible = "ibm,p9-occ"; 257 + }; 258 + }; 259 + 260 + fsi_hub0: hub@3400 { 261 + compatible = "fsi-master-hub"; 262 + reg = <0x3400 0x400>; 263 + #address-cells = <2>; 264 + #size-cells = <0>; 265 + 266 + no-scan-on-init; 267 + }; 268 + }; 269 + }; 270 + 271 + &fsi_hub0 { 272 + cfam@1,0 { 273 + reg = <1 0>; 274 + #address-cells = <1>; 275 + #size-cells = <1>; 276 + chip-id = <1>; 277 + 278 + scom@1000 { 279 + compatible = "ibm,fsi2pib"; 280 + reg = <0x1000 0x400>; 281 + }; 282 + 283 + i2c@1800 { 284 + compatible = "ibm,fsi-i2c-master"; 285 + reg = <0x1800 0x400>; 286 + #address-cells = <1>; 287 + #size-cells = <0>; 288 + 289 + cfam1_i2c0: i2c-bus@0 { 290 + reg = <0>; 291 + }; 292 + 293 + cfam1_i2c1: i2c-bus@1 { 294 + reg = <1>; 295 + }; 296 + 297 + cfam1_i2c2: i2c-bus@2 { 298 + reg = <2>; 299 + }; 300 + 301 + cfam1_i2c3: i2c-bus@3 { 302 + reg = <3>; 303 + }; 304 + 305 + cfam1_i2c4: i2c-bus@4 { 306 + reg = <4>; 307 + }; 308 + 309 + cfam1_i2c5: i2c-bus@5 { 310 + reg = <5>; 311 + }; 312 + 313 + cfam1_i2c6: i2c-bus@6 { 314 + reg = <6>; 315 + }; 316 + 317 + cfam1_i2c7: i2c-bus@7 { 318 + reg = <7>; 319 + }; 320 + 321 + cfam1_i2c8: i2c-bus@8 { 322 + reg = <8>; 323 + }; 324 + 325 + cfam1_i2c9: i2c-bus@9 { 326 + reg = <9>; 327 + }; 328 + 329 + cfam1_i2c10: i2c-bus@a { 330 + reg = <10>; 331 + }; 332 + 333 + cfam1_i2c11: i2c-bus@b { 334 + reg = <11>; 335 + }; 336 + 337 + cfam1_i2c12: i2c-bus@c { 338 + reg = <12>; 339 + }; 340 + 341 + cfam1_i2c13: i2c-bus@d { 342 + reg = <13>; 343 + }; 344 + 345 + cfam1_i2c14: i2c-bus@e { 346 + reg = <14>; 347 + }; 348 + }; 349 + 350 + sbefifo@2400 { 351 + compatible = "ibm,p9-sbefifo"; 352 + reg = <0x2400 0x400>; 353 + #address-cells = <1>; 354 + #size-cells = <0>; 355 + 356 + fsi_occ1: occ { 357 + compatible = "ibm,p9-occ"; 358 + }; 359 + }; 360 + 361 + fsi_hub1: hub@3400 { 362 + compatible = "fsi-master-hub"; 363 + reg = <0x3400 0x400>; 364 + #address-cells = <2>; 365 + #size-cells = <0>; 366 + 367 + no-scan-on-init; 368 + }; 369 + }; 370 + }; 371 + 372 + /* Legacy OCC numbering (to get rid of when userspace is fixed) */ 373 + &fsi_occ0 { 374 + reg = <1>; 375 + }; 376 + 377 + &fsi_occ1 { 378 + reg = <2>; 379 + }; 380 + 381 + / { 382 + aliases { 383 + i2c100 = &cfam0_i2c0; 384 + i2c101 = &cfam0_i2c1; 385 + i2c102 = &cfam0_i2c2; 386 + i2c103 = &cfam0_i2c3; 387 + i2c104 = &cfam0_i2c4; 388 + i2c105 = &cfam0_i2c5; 389 + i2c106 = &cfam0_i2c6; 390 + i2c107 = &cfam0_i2c7; 391 + i2c108 = &cfam0_i2c8; 392 + i2c109 = &cfam0_i2c9; 393 + i2c110 = &cfam0_i2c10; 394 + i2c111 = &cfam0_i2c11; 395 + i2c112 = &cfam0_i2c12; 396 + i2c113 = &cfam0_i2c13; 397 + i2c114 = &cfam0_i2c14; 398 + i2c200 = &cfam1_i2c0; 399 + i2c201 = &cfam1_i2c1; 400 + i2c202 = &cfam1_i2c2; 401 + i2c203 = &cfam1_i2c3; 402 + i2c204 = &cfam1_i2c4; 403 + i2c205 = &cfam1_i2c5; 404 + i2c206 = &cfam1_i2c6; 405 + i2c207 = &cfam1_i2c7; 406 + i2c208 = &cfam1_i2c8; 407 + i2c209 = &cfam1_i2c9; 408 + i2c210 = &cfam1_i2c10; 409 + i2c211 = &cfam1_i2c11; 410 + i2c212 = &cfam1_i2c12; 411 + i2c213 = &cfam1_i2c13; 412 + i2c214 = &cfam1_i2c14; 413 + }; 414 + 415 + }; 416 + 417 + &i2c0 { 418 + status = "okay"; 419 + }; 420 + 421 + &i2c1 { 422 + status = "okay"; 423 + }; 424 + 425 + &i2c2 { 426 + status = "okay"; 427 + }; 428 + 429 + &i2c3 { 430 + status = "okay"; 431 + 432 + bmp: bmp280@77 { 433 + compatible = "bosch,bmp280"; 434 + reg = <0x77>; 435 + #io-channel-cells = <1>; 436 + }; 437 + 438 + max31785@52 { 439 + compatible = "maxim,max31785a"; 440 + reg = <0x52>; 441 + #address-cells = <1>; 442 + #size-cells = <0>; 443 + 444 + fan@0 { 445 + compatible = "pmbus-fan"; 446 + reg = <0>; 447 + tach-pulses = <2>; 448 + maxim,fan-rotor-input = "tach"; 449 + maxim,fan-pwm-freq = <25000>; 450 + maxim,fan-dual-tach; 451 + maxim,fan-no-watchdog; 452 + maxim,fan-no-fault-ramp; 453 + maxim,fan-ramp = <2>; 454 + maxim,fan-fault-pin-mon; 455 + }; 456 + 457 + fan@1 { 458 + compatible = "pmbus-fan"; 459 + reg = <1>; 460 + tach-pulses = <2>; 461 + maxim,fan-rotor-input = "tach"; 462 + maxim,fan-pwm-freq = <25000>; 463 + maxim,fan-dual-tach; 464 + maxim,fan-no-watchdog; 465 + maxim,fan-no-fault-ramp; 466 + maxim,fan-ramp = <2>; 467 + maxim,fan-fault-pin-mon; 468 + }; 469 + 470 + fan@2 { 471 + compatible = "pmbus-fan"; 472 + reg = <2>; 473 + tach-pulses = <2>; 474 + maxim,fan-rotor-input = "tach"; 475 + maxim,fan-pwm-freq = <25000>; 476 + maxim,fan-dual-tach; 477 + maxim,fan-no-watchdog; 478 + maxim,fan-no-fault-ramp; 479 + maxim,fan-ramp = <2>; 480 + maxim,fan-fault-pin-mon; 481 + }; 482 + 483 + fan@3 { 484 + compatible = "pmbus-fan"; 485 + reg = <3>; 486 + tach-pulses = <2>; 487 + maxim,fan-rotor-input = "tach"; 488 + maxim,fan-pwm-freq = <25000>; 489 + maxim,fan-dual-tach; 490 + maxim,fan-no-watchdog; 491 + maxim,fan-no-fault-ramp; 492 + maxim,fan-ramp = <2>; 493 + maxim,fan-fault-pin-mon; 494 + }; 495 + }; 496 + 497 + dps: dps310@76 { 498 + compatible = "infineon,dps310"; 499 + reg = <0x76>; 500 + #io-channel-cells = <0>; 501 + }; 502 + 503 + pca0: pca9552@60 { 504 + compatible = "nxp,pca9552"; 505 + reg = <0x60>; 506 + #address-cells = <1>; 507 + #size-cells = <0>; 508 + 509 + gpio-controller; 510 + #gpio-cells = <2>; 511 + 512 + gpio@0 { 513 + reg = <0>; 514 + type = <PCA955X_TYPE_GPIO>; 515 + }; 516 + 517 + gpio@1 { 518 + reg = <1>; 519 + type = <PCA955X_TYPE_GPIO>; 520 + }; 521 + 522 + gpio@2 { 523 + reg = <2>; 524 + type = <PCA955X_TYPE_GPIO>; 525 + }; 526 + 527 + gpio@3 { 528 + reg = <3>; 529 + type = <PCA955X_TYPE_GPIO>; 530 + }; 531 + 532 + gpio@4 { 533 + reg = <4>; 534 + type = <PCA955X_TYPE_GPIO>; 535 + }; 536 + 537 + gpio@5 { 538 + reg = <5>; 539 + type = <PCA955X_TYPE_GPIO>; 540 + }; 541 + 542 + gpio@6 { 543 + reg = <6>; 544 + type = <PCA955X_TYPE_GPIO>; 545 + }; 546 + 547 + gpio@7 { 548 + reg = <7>; 549 + type = <PCA955X_TYPE_GPIO>; 550 + }; 551 + 552 + gpio@8 { 553 + reg = <8>; 554 + type = <PCA955X_TYPE_GPIO>; 555 + }; 556 + 557 + gpio@9 { 558 + reg = <9>; 559 + type = <PCA955X_TYPE_GPIO>; 560 + }; 561 + 562 + gpio@10 { 563 + reg = <10>; 564 + type = <PCA955X_TYPE_GPIO>; 565 + }; 566 + 567 + gpio@11 { 568 + reg = <11>; 569 + type = <PCA955X_TYPE_GPIO>; 570 + }; 571 + 572 + gpio@12 { 573 + reg = <12>; 574 + type = <PCA955X_TYPE_GPIO>; 575 + }; 576 + 577 + gpio@13 { 578 + reg = <13>; 579 + type = <PCA955X_TYPE_GPIO>; 580 + }; 581 + 582 + gpio@14 { 583 + reg = <14>; 584 + type = <PCA955X_TYPE_GPIO>; 585 + }; 586 + 587 + gpio@15 { 588 + reg = <15>; 589 + type = <PCA955X_TYPE_GPIO>; 590 + }; 591 + }; 592 + 593 + power-supply@68 { 594 + compatible = "ibm,cffps1"; 595 + reg = <0x68>; 596 + }; 597 + 598 + power-supply@69 { 599 + compatible = "ibm,cffps1"; 600 + reg = <0x69>; 601 + }; 602 + }; 603 + 604 + &i2c4 { 605 + status = "okay"; 606 + 607 + tmp423a@4c { 608 + compatible = "ti,tmp423"; 609 + reg = <0x4c>; 610 + }; 611 + 612 + ir35221@70 { 613 + compatible = "infineon,ir35221"; 614 + reg = <0x70>; 615 + }; 616 + 617 + ir35221@71 { 618 + compatible = "infineon,ir35221"; 619 + reg = <0x71>; 620 + }; 621 + }; 622 + 623 + &i2c5 { 624 + status = "okay"; 625 + 626 + tmp423a@4c { 627 + compatible = "ti,tmp423"; 628 + reg = <0x4c>; 629 + }; 630 + 631 + ir35221@70 { 632 + compatible = "infineon,ir35221"; 633 + reg = <0x70>; 634 + }; 635 + 636 + ir35221@71 { 637 + compatible = "infineon,ir35221"; 638 + reg = <0x71>; 639 + }; 640 + }; 641 + 642 + &i2c7 { 643 + status = "okay"; 644 + }; 645 + 646 + &i2c9 { 647 + status = "okay"; 648 + 649 + tmp275@4a { 650 + compatible = "ti,tmp275"; 651 + reg = <0x4a>; 652 + }; 653 + }; 654 + 655 + &i2c10 { 656 + status = "okay"; 657 + }; 658 + 659 + &i2c11 { 660 + status = "okay"; 661 + 662 + pca9552: pca9552@60 { 663 + compatible = "nxp,pca9552"; 664 + reg = <0x60>; 665 + #address-cells = <1>; 666 + #size-cells = <0>; 667 + gpio-controller; 668 + #gpio-cells = <2>; 669 + 670 + gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N", 671 + "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF", 672 + "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF", 673 + "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF", 674 + "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF", 675 + "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF", 676 + "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF", 677 + "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N"; 678 + 679 + gpio@0 { 680 + reg = <0>; 681 + type = <PCA955X_TYPE_GPIO>; 682 + }; 683 + 684 + gpio@1 { 685 + reg = <1>; 686 + type = <PCA955X_TYPE_GPIO>; 687 + }; 688 + 689 + gpio@2 { 690 + reg = <2>; 691 + type = <PCA955X_TYPE_GPIO>; 692 + }; 693 + 694 + gpio@3 { 695 + reg = <3>; 696 + type = <PCA955X_TYPE_GPIO>; 697 + }; 698 + 699 + gpio@4 { 700 + reg = <4>; 701 + type = <PCA955X_TYPE_GPIO>; 702 + }; 703 + 704 + gpio@5 { 705 + reg = <5>; 706 + type = <PCA955X_TYPE_GPIO>; 707 + }; 708 + 709 + gpio@6 { 710 + reg = <6>; 711 + type = <PCA955X_TYPE_GPIO>; 712 + }; 713 + 714 + gpio@7 { 715 + reg = <7>; 716 + type = <PCA955X_TYPE_GPIO>; 717 + }; 718 + 719 + gpio@8 { 720 + reg = <8>; 721 + type = <PCA955X_TYPE_GPIO>; 722 + }; 723 + 724 + gpio@9 { 725 + reg = <9>; 726 + type = <PCA955X_TYPE_GPIO>; 727 + }; 728 + 729 + gpio@10 { 730 + reg = <10>; 731 + type = <PCA955X_TYPE_GPIO>; 732 + }; 733 + 734 + gpio@11 { 735 + reg = <11>; 736 + type = <PCA955X_TYPE_GPIO>; 737 + }; 738 + 739 + gpio@12 { 740 + reg = <12>; 741 + type = <PCA955X_TYPE_GPIO>; 742 + }; 743 + 744 + gpio@13 { 745 + reg = <13>; 746 + type = <PCA955X_TYPE_GPIO>; 747 + }; 748 + 749 + gpio@14 { 750 + reg = <14>; 751 + type = <PCA955X_TYPE_GPIO>; 752 + }; 753 + 754 + gpio@15 { 755 + reg = <15>; 756 + type = <PCA955X_TYPE_GPIO>; 757 + }; 758 + }; 759 + 760 + rtc@32 { 761 + compatible = "epson,rx8900"; 762 + reg = <0x32>; 763 + }; 764 + 765 + eeprom@51 { 766 + compatible = "atmel,24c64"; 767 + reg = <0x51>; 768 + }; 769 + 770 + ucd90160@64 { 771 + compatible = "ti,ucd90160"; 772 + reg = <0x64>; 773 + }; 774 + }; 775 + 776 + &i2c12 { 777 + status = "okay"; 778 + }; 779 + 780 + &i2c13 { 781 + status = "okay"; 782 + }; 783 + 784 + &ibt { 785 + status = "okay"; 786 + }; 787 + 788 + &uart1 { 789 + status = "okay"; 790 + // Workaround for A0 791 + compatible = "snps,dw-apb-uart"; 792 + }; 793 + 794 + &uart5 { 795 + // Workaround for A0 796 + compatible = "snps,dw-apb-uart"; 797 + }; 798 + 799 + &vuart1 { 800 + status = "okay"; 801 + }; 802 + 803 + &lpc_ctrl { 804 + status = "okay"; 805 + memory-region = <&flash_memory>; 806 + flash = <&spi1>; 807 + }; 808 + 809 + &wdt1 { 810 + aspeed,reset-type = "none"; 811 + aspeed,external-signal; 812 + aspeed,ext-push-pull; 813 + aspeed,ext-active-high; 814 + 815 + pinctrl-names = "default"; 816 + pinctrl-0 = <&pinctrl_wdtrst1_default>; 817 + }; 818 + 819 + &wdt2 { 820 + status = "okay"; 821 + }; 822 + 823 + &i2c0 { 824 + status = "okay"; 825 + }; 826 + 827 + &i2c1 { 828 + status = "okay"; 829 + }; 830 + 831 + &i2c2 { 832 + status = "okay"; 833 + }; 834 + 835 + &i2c3 { 836 + status = "okay"; 837 + 838 + bmp: bmp280@77 { 839 + compatible = "bosch,bmp280"; 840 + reg = <0x77>; 841 + #io-channel-cells = <1>; 842 + }; 843 + 844 + max31785@52 { 845 + compatible = "maxim,max31785a"; 846 + reg = <0x52>; 847 + #address-cells = <1>; 848 + #size-cells = <0>; 849 + 850 + fan@0 { 851 + compatible = "pmbus-fan"; 852 + reg = <0>; 853 + tach-pulses = <2>; 854 + maxim,fan-rotor-input = "tach"; 855 + maxim,fan-pwm-freq = <25000>; 856 + maxim,fan-dual-tach; 857 + maxim,fan-no-watchdog; 858 + maxim,fan-no-fault-ramp; 859 + maxim,fan-ramp = <2>; 860 + maxim,fan-fault-pin-mon; 861 + }; 862 + 863 + fan@1 { 864 + compatible = "pmbus-fan"; 865 + reg = <1>; 866 + tach-pulses = <2>; 867 + maxim,fan-rotor-input = "tach"; 868 + maxim,fan-pwm-freq = <25000>; 869 + maxim,fan-dual-tach; 870 + maxim,fan-no-watchdog; 871 + maxim,fan-no-fault-ramp; 872 + maxim,fan-ramp = <2>; 873 + maxim,fan-fault-pin-mon; 874 + }; 875 + 876 + fan@2 { 877 + compatible = "pmbus-fan"; 878 + reg = <2>; 879 + tach-pulses = <2>; 880 + maxim,fan-rotor-input = "tach"; 881 + maxim,fan-pwm-freq = <25000>; 882 + maxim,fan-dual-tach; 883 + maxim,fan-no-watchdog; 884 + maxim,fan-no-fault-ramp; 885 + maxim,fan-ramp = <2>; 886 + maxim,fan-fault-pin-mon; 887 + }; 888 + 889 + fan@3 { 890 + compatible = "pmbus-fan"; 891 + reg = <3>; 892 + tach-pulses = <2>; 893 + maxim,fan-rotor-input = "tach"; 894 + maxim,fan-pwm-freq = <25000>; 895 + maxim,fan-dual-tach; 896 + maxim,fan-no-watchdog; 897 + maxim,fan-no-fault-ramp; 898 + maxim,fan-ramp = <2>; 899 + maxim,fan-fault-pin-mon; 900 + }; 901 + }; 902 + 903 + dps: dps310@76 { 904 + compatible = "infineon,dps310"; 905 + reg = <0x76>; 906 + #io-channel-cells = <0>; 907 + }; 908 + 909 + pca0: pca9552@60 { 910 + compatible = "nxp,pca9552"; 911 + reg = <0x60>; 912 + #address-cells = <1>; 913 + #size-cells = <0>; 914 + 915 + gpio-controller; 916 + #gpio-cells = <2>; 917 + 918 + gpio@0 { 919 + reg = <0>; 920 + type = <PCA955X_TYPE_GPIO>; 921 + }; 922 + 923 + gpio@1 { 924 + reg = <1>; 925 + type = <PCA955X_TYPE_GPIO>; 926 + }; 927 + 928 + gpio@2 { 929 + reg = <2>; 930 + type = <PCA955X_TYPE_GPIO>; 931 + }; 932 + 933 + gpio@3 { 934 + reg = <3>; 935 + type = <PCA955X_TYPE_GPIO>; 936 + }; 937 + 938 + gpio@4 { 939 + reg = <4>; 940 + type = <PCA955X_TYPE_GPIO>; 941 + }; 942 + 943 + gpio@5 { 944 + reg = <5>; 945 + type = <PCA955X_TYPE_GPIO>; 946 + }; 947 + 948 + gpio@6 { 949 + reg = <6>; 950 + type = <PCA955X_TYPE_GPIO>; 951 + }; 952 + 953 + gpio@7 { 954 + reg = <7>; 955 + type = <PCA955X_TYPE_GPIO>; 956 + }; 957 + 958 + gpio@8 { 959 + reg = <8>; 960 + type = <PCA955X_TYPE_GPIO>; 961 + }; 962 + 963 + gpio@9 { 964 + reg = <9>; 965 + type = <PCA955X_TYPE_GPIO>; 966 + }; 967 + 968 + gpio@10 { 969 + reg = <10>; 970 + type = <PCA955X_TYPE_GPIO>; 971 + }; 972 + 973 + gpio@11 { 974 + reg = <11>; 975 + type = <PCA955X_TYPE_GPIO>; 976 + }; 977 + 978 + gpio@12 { 979 + reg = <12>; 980 + type = <PCA955X_TYPE_GPIO>; 981 + }; 982 + 983 + gpio@13 { 984 + reg = <13>; 985 + type = <PCA955X_TYPE_GPIO>; 986 + }; 987 + 988 + gpio@14 { 989 + reg = <14>; 990 + type = <PCA955X_TYPE_GPIO>; 991 + }; 992 + 993 + gpio@15 { 994 + reg = <15>; 995 + type = <PCA955X_TYPE_GPIO>; 996 + }; 997 + }; 998 + 999 + power-supply@68 { 1000 + compatible = "ibm,cffps1"; 1001 + reg = <0x68>; 1002 + }; 1003 + 1004 + power-supply@69 { 1005 + compatible = "ibm,cffps1"; 1006 + reg = <0x69>; 1007 + }; 1008 + }; 1009 + 1010 + &i2c4 { 1011 + status = "okay"; 1012 + 1013 + tmp423a@4c { 1014 + compatible = "ti,tmp423"; 1015 + reg = <0x4c>; 1016 + }; 1017 + 1018 + ir35221@70 { 1019 + compatible = "infineon,ir35221"; 1020 + reg = <0x70>; 1021 + }; 1022 + 1023 + ir35221@71 { 1024 + compatible = "infineon,ir35221"; 1025 + reg = <0x71>; 1026 + }; 1027 + }; 1028 + 1029 + &i2c5 { 1030 + status = "okay"; 1031 + 1032 + tmp423a@4c { 1033 + compatible = "ti,tmp423"; 1034 + reg = <0x4c>; 1035 + }; 1036 + 1037 + ir35221@70 { 1038 + compatible = "infineon,ir35221"; 1039 + reg = <0x70>; 1040 + }; 1041 + 1042 + ir35221@71 { 1043 + compatible = "infineon,ir35221"; 1044 + reg = <0x71>; 1045 + }; 1046 + }; 1047 + 1048 + &i2c7 { 1049 + status = "okay"; 1050 + }; 1051 + 1052 + &i2c9 { 1053 + status = "okay"; 1054 + 1055 + tmp275@4a { 1056 + compatible = "ti,tmp275"; 1057 + reg = <0x4a>; 1058 + }; 1059 + }; 1060 + 1061 + &i2c10 { 1062 + status = "okay"; 1063 + }; 1064 + 1065 + &i2c11 { 1066 + status = "okay"; 1067 + 1068 + pca9552: pca9552@60 { 1069 + compatible = "nxp,pca9552"; 1070 + reg = <0x60>; 1071 + #address-cells = <1>; 1072 + #size-cells = <0>; 1073 + gpio-controller; 1074 + #gpio-cells = <2>; 1075 + 1076 + gpio-line-names = "PS_SMBUS_RESET_N", "APSS_RESET_N", 1077 + "GPU0_TH_OVERT_N_BUFF", "GPU1_TH_OVERT_N_BUFF", 1078 + "GPU2_TH_OVERT_N_BUFF", "GPU3_TH_OVERT_N_BUFF", 1079 + "GPU4_TH_OVERT_N_BUFF", "GPU5_TH_OVERT_N_BUFF", 1080 + "GPU0_PWR_GOOD_BUFF", "GPU1_PWR_GOOD_BUFF", 1081 + "GPU2_PWR_GOOD_BUFF", "GPU3_PWR_GOOD_BUFF", 1082 + "GPU4_PWR_GOOD_BUFF", "GPU5_PWR_GOOD_BUFF", 1083 + "12V_BREAKER_FLT_N", "THROTTLE_UNLATCHED_N"; 1084 + 1085 + gpio@0 { 1086 + reg = <0>; 1087 + type = <PCA955X_TYPE_GPIO>; 1088 + }; 1089 + 1090 + gpio@1 { 1091 + reg = <1>; 1092 + type = <PCA955X_TYPE_GPIO>; 1093 + }; 1094 + 1095 + gpio@2 { 1096 + reg = <2>; 1097 + type = <PCA955X_TYPE_GPIO>; 1098 + }; 1099 + 1100 + gpio@3 { 1101 + reg = <3>; 1102 + type = <PCA955X_TYPE_GPIO>; 1103 + }; 1104 + 1105 + gpio@4 { 1106 + reg = <4>; 1107 + type = <PCA955X_TYPE_GPIO>; 1108 + }; 1109 + 1110 + gpio@5 { 1111 + reg = <5>; 1112 + type = <PCA955X_TYPE_GPIO>; 1113 + }; 1114 + 1115 + gpio@6 { 1116 + reg = <6>; 1117 + type = <PCA955X_TYPE_GPIO>; 1118 + }; 1119 + 1120 + gpio@7 { 1121 + reg = <7>; 1122 + type = <PCA955X_TYPE_GPIO>; 1123 + }; 1124 + 1125 + gpio@8 { 1126 + reg = <8>; 1127 + type = <PCA955X_TYPE_GPIO>; 1128 + }; 1129 + 1130 + gpio@9 { 1131 + reg = <9>; 1132 + type = <PCA955X_TYPE_GPIO>; 1133 + }; 1134 + 1135 + gpio@10 { 1136 + reg = <10>; 1137 + type = <PCA955X_TYPE_GPIO>; 1138 + }; 1139 + 1140 + gpio@11 { 1141 + reg = <11>; 1142 + type = <PCA955X_TYPE_GPIO>; 1143 + }; 1144 + 1145 + gpio@12 { 1146 + reg = <12>; 1147 + type = <PCA955X_TYPE_GPIO>; 1148 + }; 1149 + 1150 + gpio@13 { 1151 + reg = <13>; 1152 + type = <PCA955X_TYPE_GPIO>; 1153 + }; 1154 + 1155 + gpio@14 { 1156 + reg = <14>; 1157 + type = <PCA955X_TYPE_GPIO>; 1158 + }; 1159 + 1160 + gpio@15 { 1161 + reg = <15>; 1162 + type = <PCA955X_TYPE_GPIO>; 1163 + }; 1164 + }; 1165 + 1166 + rtc@32 { 1167 + compatible = "epson,rx8900"; 1168 + reg = <0x32>; 1169 + }; 1170 + 1171 + eeprom@51 { 1172 + compatible = "atmel,24c64"; 1173 + reg = <0x51>; 1174 + }; 1175 + 1176 + ucd90160@64 { 1177 + compatible = "ti,ucd90160"; 1178 + reg = <0x64>; 1179 + }; 1180 + }; 1181 + 1182 + &i2c12 { 1183 + status = "okay"; 1184 + }; 1185 + 1186 + &i2c13 { 1187 + status = "okay"; 1188 + }; 1189 + 1190 + &pinctrl { 1191 + /* Hog these as no driver is probed for the entire LPC block */ 1192 + pinctrl-names = "default"; 1193 + pinctrl-0 = <&pinctrl_lpc_default>, 1194 + <&pinctrl_lsirq_default>; 1195 + };
+4
arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts
··· 43 43 gpios = <&gpio ASPEED_GPIO(N, 1) GPIO_ACTIVE_LOW>; 44 44 }; 45 45 46 + power_green { 47 + gpios = <&gpio ASPEED_GPIO(F, 1) GPIO_ACTIVE_LOW>; 48 + }; 49 + 46 50 id_blue { 47 51 gpios = <&gpio ASPEED_GPIO(O, 0) GPIO_ACTIVE_LOW>; 48 52 };
+6 -1
arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
··· 200 200 status = "okay"; 201 201 label = "bmc"; 202 202 m25p,fast-read; 203 + spi-max-frequency = <50000000>; 203 204 204 205 partitions { 205 206 #address-cells = < 1 >; ··· 225 224 status = "okay"; 226 225 label = "alt-bmc"; 227 226 m25p,fast-read; 227 + spi-max-frequency = <50000000>; 228 228 229 229 partitions { 230 230 #address-cells = < 1 >; ··· 244 242 label = "alt-obmc-ubi"; 245 243 }; 246 244 }; 247 - 248 245 }; 249 246 }; 250 247 ··· 256 255 status = "okay"; 257 256 label = "pnor"; 258 257 m25p,fast-read; 258 + spi-max-frequency = <100000000>; 259 259 }; 260 260 }; 261 261 ··· 295 293 status = "okay"; 296 294 pinctrl-names = "default"; 297 295 pinctrl-0 = <&pinctrl_rmii1_default>; 296 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 297 + <&syscon ASPEED_CLK_MAC1RCLK>; 298 + clock-names = "MACCLK", "RCLK"; 298 299 use-ncsi; 299 300 }; 300 301
+5
arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
··· 130 130 status = "okay"; 131 131 label = "bmc"; 132 132 m25p,fast-read; 133 + spi-max-frequency = <50000000>; 133 134 #include "openbmc-flash-layout.dtsi" 134 135 }; 135 136 }; ··· 144 143 status = "okay"; 145 144 label = "pnor"; 146 145 m25p,fast-read; 146 + spi-max-frequency = <100000000>; 147 147 }; 148 148 }; 149 149 ··· 189 187 status = "okay"; 190 188 pinctrl-names = "default"; 191 189 pinctrl-0 = <&pinctrl_rmii1_default>; 190 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 191 + <&syscon ASPEED_CLK_MAC1RCLK>; 192 + clock-names = "MACCLK", "RCLK"; 192 193 use-ncsi; 193 194 }; 194 195
+6
arch/arm/boot/dts/aspeed-bmc-portwell-neptune.dts
··· 80 80 pinctrl-names = "default"; 81 81 pinctrl-0 = <&pinctrl_rmii1_default 82 82 &pinctrl_mdio1_default>; 83 + clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>, 84 + <&syscon ASPEED_CLK_MAC1RCLK>; 85 + clock-names = "MACCLK", "RCLK"; 83 86 }; 84 87 85 88 &mac1 { 86 89 status = "okay"; 87 90 pinctrl-names = "default"; 88 91 pinctrl-0 = <&pinctrl_rmii2_default>; 92 + clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>, 93 + <&syscon ASPEED_CLK_MAC2RCLK>; 94 + clock-names = "MACCLK", "RCLK"; 89 95 use-ncsi; 90 96 }; 91 97
+3 -1
arch/arm/boot/dts/aspeed-g4.dtsi
··· 65 65 flash@0 { 66 66 reg = < 0 >; 67 67 compatible = "jedec,spi-nor"; 68 + spi-max-frequency = <50000000>; 68 69 status = "disabled"; 69 70 }; 70 71 flash@1 { ··· 101 100 flash@0 { 102 101 reg = < 0 >; 103 102 compatible = "jedec,spi-nor"; 103 + spi-max-frequency = <50000000>; 104 104 status = "disabled"; 105 105 }; 106 106 }; ··· 184 182 #reset-cells = <1>; 185 183 186 184 pinctrl: pinctrl { 187 - compatible = "aspeed,g4-pinctrl"; 185 + compatible = "aspeed,ast2400-pinctrl"; 188 186 }; 189 187 190 188 p2a: p2a-control {
+24 -2
arch/arm/boot/dts/aspeed-g5.dtsi
··· 72 72 flash@0 { 73 73 reg = < 0 >; 74 74 compatible = "jedec,spi-nor"; 75 + spi-max-frequency = <50000000>; 75 76 status = "disabled"; 76 77 }; 77 78 flash@1 { 78 79 reg = < 1 >; 79 80 compatible = "jedec,spi-nor"; 81 + spi-max-frequency = <50000000>; 80 82 status = "disabled"; 81 83 }; 82 84 flash@2 { 83 85 reg = < 2 >; 84 86 compatible = "jedec,spi-nor"; 87 + spi-max-frequency = <50000000>; 85 88 status = "disabled"; 86 89 }; 87 90 }; ··· 100 97 flash@0 { 101 98 reg = < 0 >; 102 99 compatible = "jedec,spi-nor"; 100 + spi-max-frequency = <50000000>; 103 101 status = "disabled"; 104 102 }; 105 103 flash@1 { 106 104 reg = < 1 >; 107 105 compatible = "jedec,spi-nor"; 106 + spi-max-frequency = <50000000>; 108 107 status = "disabled"; 109 108 }; 110 109 }; ··· 122 117 flash@0 { 123 118 reg = < 0 >; 124 119 compatible = "jedec,spi-nor"; 120 + spi-max-frequency = <50000000>; 125 121 status = "disabled"; 126 122 }; 127 123 flash@1 { 128 124 reg = < 1 >; 129 125 compatible = "jedec,spi-nor"; 126 + spi-max-frequency = <50000000>; 130 127 status = "disabled"; 131 128 }; 132 129 }; ··· 222 215 #reset-cells = <1>; 223 216 224 217 pinctrl: pinctrl { 225 - compatible = "aspeed,g5-pinctrl"; 218 + compatible = "aspeed,ast2500-pinctrl"; 226 219 aspeed,external-nodes = <&gfx &lhc>; 227 220 228 221 }; ··· 306 299 #gpio-cells = <2>; 307 300 gpio-controller; 308 301 compatible = "aspeed,ast2500-gpio"; 309 - reg = <0x1e780000 0x1000>; 302 + reg = <0x1e780000 0x200>; 310 303 interrupts = <20>; 311 304 gpio-ranges = <&pinctrl 0 0 232>; 312 305 clocks = <&syscon ASPEED_CLK_APB>; 313 306 interrupt-controller; 314 307 #interrupt-cells = <2>; 308 + }; 309 + 310 + sgpio: sgpio@1e780200 { 311 + #gpio-cells = <2>; 312 + compatible = "aspeed,ast2500-sgpio"; 313 + gpio-controller; 314 + interrupts = <40>; 315 + reg = <0x1e780200 0x0100>; 316 + clocks = <&syscon ASPEED_CLK_APB>; 317 + interrupt-controller; 318 + ngpios = <8>; 319 + bus-frequency = <12000000>; 320 + pinctrl-names = "default"; 321 + pinctrl-0 = <&pinctrl_sgpm_default>; 322 + status = "disabled"; 315 323 }; 316 324 317 325 rtc: rtc@1e781000 {
+2 -7
arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi
··· 852 852 groups = "SD2"; 853 853 }; 854 854 855 - pinctrl_sd3_default: sd3_default { 856 - function = "SD3"; 857 - groups = "SD3"; 858 - }; 859 - 860 855 pinctrl_emmc_default: emmc_default { 861 - function = "SD3"; 862 - groups = "EMMC"; 856 + function = "EMMC"; 857 + groups = "EMMCG4"; 863 858 }; 864 859 865 860 pinctrl_sgpm1_default: sgpm1_default {
+585 -2
arch/arm/boot/dts/aspeed-g6.dtsi
··· 12 12 interrupt-parent = <&gic>; 13 13 14 14 aliases { 15 + i2c0 = &i2c0; 16 + i2c1 = &i2c1; 17 + i2c2 = &i2c2; 18 + i2c3 = &i2c3; 19 + i2c4 = &i2c4; 20 + i2c5 = &i2c5; 21 + i2c6 = &i2c6; 22 + i2c7 = &i2c7; 23 + i2c8 = &i2c8; 24 + i2c9 = &i2c9; 25 + i2c10 = &i2c10; 26 + i2c11 = &i2c11; 27 + i2c12 = &i2c12; 28 + i2c13 = &i2c13; 29 + i2c14 = &i2c14; 30 + i2c15 = &i2c15; 31 + serial0 = &uart1; 32 + serial1 = &uart2; 33 + serial2 = &uart3; 34 + serial3 = &uart4; 15 35 serial4 = &uart5; 36 + serial5 = &vuart1; 37 + serial6 = &vuart2; 16 38 }; 17 39 18 40 ··· 86 64 <0x40466000 0x2000>; 87 65 }; 88 66 67 + fmc: spi@1e620000 { 68 + reg = < 0x1e620000 0xc4 69 + 0x20000000 0x10000000 >; 70 + #address-cells = <1>; 71 + #size-cells = <0>; 72 + compatible = "aspeed,ast2600-fmc"; 73 + clocks = <&syscon ASPEED_CLK_AHB>; 74 + status = "disabled"; 75 + interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 76 + flash@0 { 77 + reg = < 0 >; 78 + compatible = "jedec,spi-nor"; 79 + spi-max-frequency = <50000000>; 80 + status = "disabled"; 81 + }; 82 + flash@1 { 83 + reg = < 1 >; 84 + compatible = "jedec,spi-nor"; 85 + spi-max-frequency = <50000000>; 86 + status = "disabled"; 87 + }; 88 + flash@2 { 89 + reg = < 2 >; 90 + compatible = "jedec,spi-nor"; 91 + spi-max-frequency = <50000000>; 92 + status = "disabled"; 93 + }; 94 + }; 95 + 96 + spi1: spi@1e630000 { 97 + reg = < 0x1e630000 0xc4 98 + 0x30000000 0x10000000 >; 99 + #address-cells = <1>; 100 + #size-cells = <0>; 101 + compatible = "aspeed,ast2600-spi"; 102 + clocks = <&syscon ASPEED_CLK_AHB>; 103 + status = "disabled"; 104 + flash@0 { 105 + reg = < 0 >; 106 + compatible = "jedec,spi-nor"; 107 + spi-max-frequency = <50000000>; 108 + status = "disabled"; 109 + }; 110 + flash@1 { 111 + reg = < 1 >; 112 + compatible = "jedec,spi-nor"; 113 + spi-max-frequency = <50000000>; 114 + status = "disabled"; 115 + }; 116 + }; 117 + 118 + spi2: spi@1e631000 { 119 + reg = < 0x1e631000 0xc4 120 + 0x50000000 0x10000000 >; 121 + #address-cells = <1>; 122 + #size-cells = <0>; 123 + compatible = "aspeed,ast2600-spi"; 124 + clocks = <&syscon ASPEED_CLK_AHB>; 125 + status = "disabled"; 126 + flash@0 { 127 + reg = < 0 >; 128 + compatible = "jedec,spi-nor"; 129 + spi-max-frequency = <50000000>; 130 + status = "disabled"; 131 + }; 132 + flash@1 { 133 + reg = < 1 >; 134 + compatible = "jedec,spi-nor"; 135 + spi-max-frequency = <50000000>; 136 + status = "disabled"; 137 + }; 138 + flash@2 { 139 + reg = < 2 >; 140 + compatible = "jedec,spi-nor"; 141 + spi-max-frequency = <50000000>; 142 + status = "disabled"; 143 + }; 144 + 145 + fsim0: fsi@1e79b000 { 146 + compatible = "aspeed,ast2600-fsi-master", "fsi-master"; 147 + reg = <0x1e79b000 0x94>; 148 + interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; 149 + pinctrl-names = "default"; 150 + pinctrl-0 = <&pinctrl_fsi1_default>; 151 + clocks = <&syscon ASPEED_CLK_GATE_FSICLK>; 152 + status = "disabled"; 153 + }; 154 + 155 + fsim1: fsi@1e79b100 { 156 + compatible = "aspeed,ast2600-fsi-master", "fsi-master"; 157 + reg = <0x1e79b100 0x94>; 158 + interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 159 + pinctrl-names = "default"; 160 + pinctrl-0 = <&pinctrl_fsi2_default>; 161 + clocks = <&syscon ASPEED_CLK_GATE_FSICLK>; 162 + status = "disabled"; 163 + }; 164 + }; 165 + 89 166 mdio0: mdio@1e650000 { 90 167 compatible = "aspeed,ast2600-mdio"; 91 168 reg = <0x1e650000 0x8>; 92 169 #address-cells = <1>; 93 170 #size-cells = <0>; 94 171 status = "disabled"; 172 + pinctrl-names = "default"; 173 + pinctrl-0 = <&pinctrl_mdio1_default>; 95 174 }; 96 175 97 176 mdio1: mdio@1e650008 { ··· 201 78 #address-cells = <1>; 202 79 #size-cells = <0>; 203 80 status = "disabled"; 81 + pinctrl-names = "default"; 82 + pinctrl-0 = <&pinctrl_mdio2_default>; 204 83 }; 205 84 206 85 mdio2: mdio@1e650010 { ··· 211 86 #address-cells = <1>; 212 87 #size-cells = <0>; 213 88 status = "disabled"; 89 + pinctrl-names = "default"; 90 + pinctrl-0 = <&pinctrl_mdio3_default>; 214 91 }; 215 92 216 93 mdio3: mdio@1e650018 { ··· 221 94 #address-cells = <1>; 222 95 #size-cells = <0>; 223 96 status = "disabled"; 97 + pinctrl-names = "default"; 98 + pinctrl-0 = <&pinctrl_mdio4_default>; 224 99 }; 225 100 226 101 mac0: ftgmac@1e660000 { ··· 297 168 quality = <100>; 298 169 }; 299 170 171 + gpio0: gpio@1e780000 { 172 + #gpio-cells = <2>; 173 + gpio-controller; 174 + compatible = "aspeed,ast2600-gpio"; 175 + reg = <0x1e780000 0x800>; 176 + interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 177 + gpio-ranges = <&pinctrl 0 0 208>; 178 + ngpios = <208>; 179 + clocks = <&syscon ASPEED_CLK_APB2>; 180 + interrupt-controller; 181 + #interrupt-cells = <2>; 182 + }; 183 + 184 + gpio1: gpio@1e780800 { 185 + #gpio-cells = <2>; 186 + gpio-controller; 187 + compatible = "aspeed,ast2600-gpio"; 188 + reg = <0x1e780800 0x800>; 189 + interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 190 + gpio-ranges = <&pinctrl 0 208 36>; 191 + ngpios = <36>; 192 + clocks = <&syscon ASPEED_CLK_APB1>; 193 + interrupt-controller; 194 + #interrupt-cells = <2>; 195 + }; 196 + 300 197 rtc: rtc@1e781000 { 301 198 compatible = "aspeed,ast2600-rtc"; 302 199 reg = <0x1e781000 0x18>; 303 200 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 201 + status = "disabled"; 202 + }; 203 + 204 + timer: timer@1e782000 { 205 + compatible = "aspeed,ast2600-timer"; 206 + reg = <0x1e782000 0x90>; 207 + interrupts-extended = <&gic GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, 208 + <&gic GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>, 209 + <&gic GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>, 210 + <&gic GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>, 211 + <&gic GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>, 212 + <&gic GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>, 213 + <&gic GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>, 214 + <&gic GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 215 + clocks = <&syscon ASPEED_CLK_APB1>; 216 + clock-names = "PCLK"; 217 + }; 218 + 219 + uart1: serial@1e783000 { 220 + compatible = "ns16550a"; 221 + reg = <0x1e783000 0x20>; 222 + reg-shift = <2>; 223 + reg-io-width = <4>; 224 + interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>; 225 + clocks = <&syscon ASPEED_CLK_GATE_UART1CLK>; 226 + resets = <&lpc_reset 4>; 227 + no-loopback-test; 228 + pinctrl-names = "default"; 229 + pinctrl-0 = <&pinctrl_txd1_default &pinctrl_rxd1_default>; 304 230 status = "disabled"; 305 231 }; 306 232 ··· 391 207 status = "disabled"; 392 208 }; 393 209 210 + lpc: lpc@1e789000 { 211 + compatible = "aspeed,ast2600-lpc", "simple-mfd"; 212 + reg = <0x1e789000 0x1000>; 213 + 214 + #address-cells = <1>; 215 + #size-cells = <1>; 216 + ranges = <0x0 0x1e789000 0x1000>; 217 + 218 + lpc_bmc: lpc-bmc@0 { 219 + compatible = "aspeed,ast2600-lpc-bmc", "simple-mfd", "syscon"; 220 + reg = <0x0 0x80>; 221 + reg-io-width = <4>; 222 + 223 + #address-cells = <1>; 224 + #size-cells = <1>; 225 + ranges = <0x0 0x0 0x80>; 226 + 227 + kcs1: kcs1@0 { 228 + compatible = "aspeed,ast2600-kcs-bmc"; 229 + interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 230 + kcs_chan = <1>; 231 + status = "disabled"; 232 + }; 233 + kcs2: kcs2@0 { 234 + compatible = "aspeed,ast2600-kcs-bmc"; 235 + interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; 236 + kcs_chan = <2>; 237 + status = "disabled"; 238 + }; 239 + kcs3: kcs3@0 { 240 + compatible = "aspeed,ast2600-kcs-bmc"; 241 + interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; 242 + kcs_chan = <3>; 243 + status = "disabled"; 244 + }; 245 + }; 246 + 247 + lpc_host: lpc-host@80 { 248 + compatible = "aspeed,ast2600-lpc-host", "simple-mfd", "syscon"; 249 + reg = <0x80 0x1e0>; 250 + reg-io-width = <4>; 251 + 252 + #address-cells = <1>; 253 + #size-cells = <1>; 254 + ranges = <0x0 0x80 0x1e0>; 255 + 256 + kcs4: kcs4@0 { 257 + compatible = "aspeed,ast2600-kcs-bmc"; 258 + interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; 259 + kcs_chan = <4>; 260 + status = "disabled"; 261 + }; 262 + 263 + lpc_ctrl: lpc-ctrl@0 { 264 + compatible = "aspeed,ast2600-lpc-ctrl"; 265 + reg = <0x0 0x80>; 266 + clocks = <&syscon ASPEED_CLK_GATE_LCLK>; 267 + status = "disabled"; 268 + }; 269 + 270 + lpc_snoop: lpc-snoop@0 { 271 + compatible = "aspeed,ast2600-lpc-snoop"; 272 + reg = <0x0 0x80>; 273 + interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; 274 + status = "disabled"; 275 + }; 276 + 277 + lhc: lhc@20 { 278 + compatible = "aspeed,ast2600-lhc"; 279 + reg = <0x20 0x24 0x48 0x8>; 280 + }; 281 + 282 + lpc_reset: reset-controller@18 { 283 + compatible = "aspeed,ast2600-lpc-reset"; 284 + reg = <0x18 0x4>; 285 + #reset-cells = <1>; 286 + }; 287 + 288 + ibt: ibt@c0 { 289 + compatible = "aspeed,ast2600-ibt-bmc"; 290 + reg = <0xc0 0x18>; 291 + interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; 292 + status = "disabled"; 293 + }; 294 + }; 295 + }; 296 + 394 297 sdc: sdc@1e740000 { 395 298 compatible = "aspeed,ast2600-sd-controller"; 396 299 reg = <0x1e740000 0x100>; ··· 506 235 }; 507 236 }; 508 237 509 - emmc: sdc@1e750000 { 238 + emmc_controller: sdc@1e750000 { 510 239 compatible = "aspeed,ast2600-sd-controller"; 511 240 reg = <0x1e750000 0x100>; 512 241 #address-cells = <1>; ··· 515 244 clocks = <&syscon ASPEED_CLK_GATE_EMMCCLK>; 516 245 status = "disabled"; 517 246 518 - sdhci@1e750100 { 247 + emmc: sdhci@1e750100 { 519 248 compatible = "aspeed,ast2600-sdhci"; 520 249 reg = <0x100 0x100>; 521 250 sdhci,auto-cmd12; ··· 525 254 pinctrl-0 = <&pinctrl_emmc_default>; 526 255 }; 527 256 }; 257 + 258 + vuart1: serial@1e787000 { 259 + compatible = "aspeed,ast2500-vuart"; 260 + reg = <0x1e787000 0x40>; 261 + reg-shift = <2>; 262 + interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; 263 + clocks = <&syscon ASPEED_CLK_APB1>; 264 + no-loopback-test; 265 + status = "disabled"; 266 + }; 267 + 268 + vuart2: serial@1e788000 { 269 + compatible = "aspeed,ast2500-vuart"; 270 + reg = <0x1e788000 0x40>; 271 + reg-shift = <2>; 272 + interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; 273 + clocks = <&syscon ASPEED_CLK_APB1>; 274 + no-loopback-test; 275 + status = "disabled"; 276 + }; 277 + 278 + uart2: serial@1e78d000 { 279 + compatible = "ns16550a"; 280 + reg = <0x1e78d000 0x20>; 281 + reg-shift = <2>; 282 + reg-io-width = <4>; 283 + interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; 284 + clocks = <&syscon ASPEED_CLK_GATE_UART2CLK>; 285 + resets = <&lpc_reset 5>; 286 + no-loopback-test; 287 + pinctrl-names = "default"; 288 + pinctrl-0 = <&pinctrl_txd2_default &pinctrl_rxd2_default>; 289 + status = "disabled"; 290 + }; 291 + 292 + uart3: serial@1e78e000 { 293 + compatible = "ns16550a"; 294 + reg = <0x1e78e000 0x20>; 295 + reg-shift = <2>; 296 + reg-io-width = <4>; 297 + interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>; 298 + clocks = <&syscon ASPEED_CLK_GATE_UART3CLK>; 299 + resets = <&lpc_reset 6>; 300 + no-loopback-test; 301 + pinctrl-names = "default"; 302 + pinctrl-0 = <&pinctrl_txd3_default &pinctrl_rxd3_default>; 303 + status = "disabled"; 304 + }; 305 + 306 + uart4: serial@1e78f000 { 307 + compatible = "ns16550a"; 308 + reg = <0x1e78f000 0x20>; 309 + reg-shift = <2>; 310 + reg-io-width = <4>; 311 + interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 312 + clocks = <&syscon ASPEED_CLK_GATE_UART4CLK>; 313 + resets = <&lpc_reset 7>; 314 + no-loopback-test; 315 + pinctrl-names = "default"; 316 + pinctrl-0 = <&pinctrl_txd4_default &pinctrl_rxd4_default>; 317 + status = "disabled"; 318 + }; 319 + 320 + i2c: bus@1e78a000 { 321 + compatible = "simple-bus"; 322 + #address-cells = <1>; 323 + #size-cells = <1>; 324 + ranges = <0 0x1e78a000 0x1000>; 325 + }; 326 + 528 327 }; 529 328 }; 530 329 }; 531 330 532 331 #include "aspeed-g6-pinctrl.dtsi" 332 + 333 + &i2c { 334 + i2c0: i2c-bus@80 { 335 + #address-cells = <1>; 336 + #size-cells = <0>; 337 + #interrupt-cells = <1>; 338 + reg = <0x80 0x80>; 339 + compatible = "aspeed,ast2600-i2c-bus"; 340 + clocks = <&syscon ASPEED_CLK_APB2>; 341 + resets = <&syscon ASPEED_RESET_I2C>; 342 + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; 343 + bus-frequency = <100000>; 344 + pinctrl-names = "default"; 345 + pinctrl-0 = <&pinctrl_i2c1_default>; 346 + status = "disabled"; 347 + }; 348 + 349 + i2c1: i2c-bus@100 { 350 + #address-cells = <1>; 351 + #size-cells = <0>; 352 + #interrupt-cells = <1>; 353 + reg = <0x100 0x80>; 354 + compatible = "aspeed,ast2600-i2c-bus"; 355 + clocks = <&syscon ASPEED_CLK_APB2>; 356 + resets = <&syscon ASPEED_RESET_I2C>; 357 + interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>; 358 + bus-frequency = <100000>; 359 + pinctrl-names = "default"; 360 + pinctrl-0 = <&pinctrl_i2c2_default>; 361 + status = "disabled"; 362 + }; 363 + 364 + i2c2: i2c-bus@180 { 365 + #address-cells = <1>; 366 + #size-cells = <0>; 367 + #interrupt-cells = <1>; 368 + reg = <0x180 0x80>; 369 + compatible = "aspeed,ast2600-i2c-bus"; 370 + clocks = <&syscon ASPEED_CLK_APB2>; 371 + resets = <&syscon ASPEED_RESET_I2C>; 372 + interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; 373 + bus-frequency = <100000>; 374 + pinctrl-names = "default"; 375 + pinctrl-0 = <&pinctrl_i2c3_default>; 376 + status = "disabled"; 377 + }; 378 + 379 + i2c3: i2c-bus@200 { 380 + #address-cells = <1>; 381 + #size-cells = <0>; 382 + #interrupt-cells = <1>; 383 + reg = <0x200 0x80>; 384 + compatible = "aspeed,ast2600-i2c-bus"; 385 + clocks = <&syscon ASPEED_CLK_APB2>; 386 + resets = <&syscon ASPEED_RESET_I2C>; 387 + interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; 388 + bus-frequency = <100000>; 389 + pinctrl-names = "default"; 390 + pinctrl-0 = <&pinctrl_i2c4_default>; 391 + status = "disabled"; 392 + }; 393 + 394 + i2c4: i2c-bus@280 { 395 + #address-cells = <1>; 396 + #size-cells = <0>; 397 + #interrupt-cells = <1>; 398 + reg = <0x280 0x80>; 399 + compatible = "aspeed,ast2600-i2c-bus"; 400 + clocks = <&syscon ASPEED_CLK_APB2>; 401 + resets = <&syscon ASPEED_RESET_I2C>; 402 + interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 403 + bus-frequency = <100000>; 404 + pinctrl-names = "default"; 405 + pinctrl-0 = <&pinctrl_i2c5_default>; 406 + status = "disabled"; 407 + }; 408 + 409 + i2c5: i2c-bus@300 { 410 + #address-cells = <1>; 411 + #size-cells = <0>; 412 + #interrupt-cells = <1>; 413 + reg = <0x300 0x80>; 414 + compatible = "aspeed,ast2600-i2c-bus"; 415 + clocks = <&syscon ASPEED_CLK_APB2>; 416 + resets = <&syscon ASPEED_RESET_I2C>; 417 + interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>; 418 + bus-frequency = <100000>; 419 + pinctrl-names = "default"; 420 + pinctrl-0 = <&pinctrl_i2c6_default>; 421 + status = "disabled"; 422 + }; 423 + 424 + i2c6: i2c-bus@380 { 425 + #address-cells = <1>; 426 + #size-cells = <0>; 427 + #interrupt-cells = <1>; 428 + reg = <0x380 0x80>; 429 + compatible = "aspeed,ast2600-i2c-bus"; 430 + clocks = <&syscon ASPEED_CLK_APB2>; 431 + resets = <&syscon ASPEED_RESET_I2C>; 432 + interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>; 433 + bus-frequency = <100000>; 434 + pinctrl-names = "default"; 435 + pinctrl-0 = <&pinctrl_i2c7_default>; 436 + status = "disabled"; 437 + }; 438 + 439 + i2c7: i2c-bus@400 { 440 + #address-cells = <1>; 441 + #size-cells = <0>; 442 + #interrupt-cells = <1>; 443 + reg = <0x400 0x80>; 444 + compatible = "aspeed,ast2600-i2c-bus"; 445 + clocks = <&syscon ASPEED_CLK_APB2>; 446 + resets = <&syscon ASPEED_RESET_I2C>; 447 + interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; 448 + bus-frequency = <100000>; 449 + pinctrl-names = "default"; 450 + pinctrl-0 = <&pinctrl_i2c8_default>; 451 + status = "disabled"; 452 + }; 453 + 454 + i2c8: i2c-bus@480 { 455 + #address-cells = <1>; 456 + #size-cells = <0>; 457 + #interrupt-cells = <1>; 458 + reg = <0x480 0x80>; 459 + compatible = "aspeed,ast2600-i2c-bus"; 460 + clocks = <&syscon ASPEED_CLK_APB2>; 461 + resets = <&syscon ASPEED_RESET_I2C>; 462 + interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>; 463 + bus-frequency = <100000>; 464 + pinctrl-names = "default"; 465 + pinctrl-0 = <&pinctrl_i2c9_default>; 466 + status = "disabled"; 467 + }; 468 + 469 + i2c9: i2c-bus@500 { 470 + #address-cells = <1>; 471 + #size-cells = <0>; 472 + #interrupt-cells = <1>; 473 + reg = <0x500 0x80>; 474 + compatible = "aspeed,ast2600-i2c-bus"; 475 + clocks = <&syscon ASPEED_CLK_APB2>; 476 + resets = <&syscon ASPEED_RESET_I2C>; 477 + interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; 478 + bus-frequency = <100000>; 479 + pinctrl-names = "default"; 480 + pinctrl-0 = <&pinctrl_i2c10_default>; 481 + status = "disabled"; 482 + }; 483 + 484 + i2c10: i2c-bus@580 { 485 + #address-cells = <1>; 486 + #size-cells = <0>; 487 + #interrupt-cells = <1>; 488 + reg = <0x580 0x80>; 489 + compatible = "aspeed,ast2600-i2c-bus"; 490 + clocks = <&syscon ASPEED_CLK_APB2>; 491 + resets = <&syscon ASPEED_RESET_I2C>; 492 + interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 493 + bus-frequency = <100000>; 494 + pinctrl-names = "default"; 495 + pinctrl-0 = <&pinctrl_i2c11_default>; 496 + status = "disabled"; 497 + }; 498 + 499 + i2c11: i2c-bus@600 { 500 + #address-cells = <1>; 501 + #size-cells = <0>; 502 + #interrupt-cells = <1>; 503 + reg = <0x600 0x80>; 504 + compatible = "aspeed,ast2600-i2c-bus"; 505 + clocks = <&syscon ASPEED_CLK_APB2>; 506 + resets = <&syscon ASPEED_RESET_I2C>; 507 + interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 508 + bus-frequency = <100000>; 509 + pinctrl-names = "default"; 510 + pinctrl-0 = <&pinctrl_i2c12_default>; 511 + status = "disabled"; 512 + }; 513 + 514 + i2c12: i2c-bus@680 { 515 + #address-cells = <1>; 516 + #size-cells = <0>; 517 + #interrupt-cells = <1>; 518 + reg = <0x680 0x80>; 519 + compatible = "aspeed,ast2600-i2c-bus"; 520 + clocks = <&syscon ASPEED_CLK_APB2>; 521 + resets = <&syscon ASPEED_RESET_I2C>; 522 + interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 523 + bus-frequency = <100000>; 524 + pinctrl-names = "default"; 525 + pinctrl-0 = <&pinctrl_i2c13_default>; 526 + status = "disabled"; 527 + }; 528 + 529 + i2c13: i2c-bus@700 { 530 + #address-cells = <1>; 531 + #size-cells = <0>; 532 + #interrupt-cells = <1>; 533 + reg = <0x700 0x80>; 534 + compatible = "aspeed,ast2600-i2c-bus"; 535 + clocks = <&syscon ASPEED_CLK_APB2>; 536 + resets = <&syscon ASPEED_RESET_I2C>; 537 + interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; 538 + bus-frequency = <100000>; 539 + pinctrl-names = "default"; 540 + pinctrl-0 = <&pinctrl_i2c14_default>; 541 + status = "disabled"; 542 + }; 543 + 544 + i2c14: i2c-bus@780 { 545 + #address-cells = <1>; 546 + #size-cells = <0>; 547 + #interrupt-cells = <1>; 548 + reg = <0x780 0x80>; 549 + compatible = "aspeed,ast2600-i2c-bus"; 550 + clocks = <&syscon ASPEED_CLK_APB2>; 551 + resets = <&syscon ASPEED_RESET_I2C>; 552 + interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; 553 + bus-frequency = <100000>; 554 + pinctrl-names = "default"; 555 + pinctrl-0 = <&pinctrl_i2c15_default>; 556 + status = "disabled"; 557 + }; 558 + 559 + i2c15: i2c-bus@800 { 560 + #address-cells = <1>; 561 + #size-cells = <0>; 562 + #interrupt-cells = <1>; 563 + reg = <0x800 0x80>; 564 + compatible = "aspeed,ast2600-i2c-bus"; 565 + clocks = <&syscon ASPEED_CLK_APB2>; 566 + resets = <&syscon ASPEED_RESET_I2C>; 567 + interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; 568 + bus-frequency = <100000>; 569 + pinctrl-names = "default"; 570 + pinctrl-0 = <&pinctrl_i2c16_default>; 571 + status = "disabled"; 572 + }; 573 + };
+96
arch/arm/boot/dts/ast2500-facebook-netbmc-common.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // Copyright (c) 2019 Facebook Inc. 3 + 4 + #include "aspeed-g5.dtsi" 5 + 6 + / { 7 + memory@80000000 { 8 + reg = <0x80000000 0x40000000>; 9 + }; 10 + }; 11 + 12 + /* 13 + * Update reset type to "system" (full chip) to fix warm reboot hang issue 14 + * when reset type is set to default ("soc", gated by reset mask registers). 15 + */ 16 + &wdt1 { 17 + status = "okay"; 18 + aspeed,reset-type = "system"; 19 + }; 20 + 21 + &wdt2 { 22 + status = "disabled"; 23 + }; 24 + 25 + &uart1 { 26 + status = "okay"; 27 + pinctrl-names = "default"; 28 + pinctrl-0 = <&pinctrl_txd1_default 29 + &pinctrl_rxd1_default>; 30 + }; 31 + 32 + &uart3 { 33 + status = "okay"; 34 + pinctrl-names = "default"; 35 + pinctrl-0 = <&pinctrl_txd3_default 36 + &pinctrl_rxd3_default>; 37 + }; 38 + 39 + &uart5 { 40 + status = "okay"; 41 + }; 42 + 43 + &fmc { 44 + status = "okay"; 45 + 46 + fmc_flash0: flash@0 { 47 + status = "okay"; 48 + m25p,fast-read; 49 + label = "spi0.0"; 50 + 51 + #include "facebook-bmc-flash-layout.dtsi" 52 + }; 53 + 54 + fmc_flash1: flash@1 { 55 + status = "okay"; 56 + m25p,fast-read; 57 + label = "spi0.1"; 58 + 59 + partitions { 60 + compatible = "fixed-partitions"; 61 + #address-cells = <1>; 62 + #size-cells = <1>; 63 + 64 + flash1@0 { 65 + reg = <0x0 0x2000000>; 66 + label = "flash1"; 67 + }; 68 + }; 69 + }; 70 + }; 71 + 72 + &mac1 { 73 + status = "okay"; 74 + no-hw-checksum; 75 + pinctrl-names = "default"; 76 + pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 77 + }; 78 + 79 + &rtc { 80 + status = "okay"; 81 + }; 82 + 83 + &vhub { 84 + status = "okay"; 85 + }; 86 + 87 + &sdmmc { 88 + status = "okay"; 89 + }; 90 + 91 + &sdhci1 { 92 + status = "okay"; 93 + 94 + pinctrl-names = "default"; 95 + pinctrl-0 = <&pinctrl_sd2_default>; 96 + };
+32
arch/arm/boot/dts/openbmc-flash-layout-128.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + 3 + partitions { 4 + compatible = "fixed-partitions"; 5 + #address-cells = <1>; 6 + #size-cells = <1>; 7 + 8 + u-boot@0 { 9 + reg = <0x0 0xe0000>; // 896KB 10 + label = "u-boot"; 11 + }; 12 + 13 + u-boot-env@e0000 { 14 + reg = <0xe0000 0x20000>; // 128KB 15 + label = "u-boot-env"; 16 + }; 17 + 18 + kernel@100000 { 19 + reg = <0x100000 0x900000>; // 9MB 20 + label = "kernel"; 21 + }; 22 + 23 + rofs@a00000 { 24 + reg = <0xa00000 0x5600000>; // 86MB 25 + label = "rofs"; 26 + }; 27 + 28 + rwfs@6000000 { 29 + reg = <0x6000000 0x2000000>; // 32MB 30 + label = "rwfs"; 31 + }; 32 + };
+2
include/dt-bindings/clock/aspeed-clock.h
··· 39 39 #define ASPEED_CLK_BCLK 33 40 40 #define ASPEED_CLK_MPLL 34 41 41 #define ASPEED_CLK_24M 35 42 + #define ASPEED_CLK_MAC1RCLK 36 43 + #define ASPEED_CLK_MAC2RCLK 37 42 44 43 45 #define ASPEED_RESET_XDMA 0 44 46 #define ASPEED_RESET_MCTP 1
+4
include/dt-bindings/clock/ast2600-clock.h
··· 83 83 #define ASPEED_CLK_MAC12 64 84 84 #define ASPEED_CLK_MAC34 65 85 85 #define ASPEED_CLK_USBPHY_40M 66 86 + #define ASPEED_CLK_MAC1RCLK 67 87 + #define ASPEED_CLK_MAC2RCLK 68 88 + #define ASPEED_CLK_MAC3RCLK 69 89 + #define ASPEED_CLK_MAC4RCLK 70 86 90 87 91 /* Only list resets here that are not part of a gate */ 88 92 #define ASPEED_RESET_ADC 55