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

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

ASPEED device tree updates for 5.1

- New machine: Inspur ON5263M5, an Intel Xeon OCP compute node

- Misc device tree updates from the OpenBMC project

- #interrupt-cells fix for GPIO controller

* tag 'aspeed-5.1-devicetree' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed:
ARM: dts: aspeed: quanta-q71l: enable uart1
ARM: dts: aspeed: quanta-q71l: enable lpc_ctrl node
ARM: dts: aspeed: tiogapass: Add uarts for SoL
ARM: dts: aspeed: tiogapass: Add LPC devices
ARM: dts: aspeed: Add Inspur on5263m5 BMC
ARM: dts: aspeed: tiogapass: Add sensors
ARM: dts: aspeed: tiogapass: Enable KCS
ARM: dts: aspeed: Add KCS support for LPC BMC
ARM: dts: aspeed: Add #interrupt-cells property to gpio controllers
ARM: dts: aspeed-palmetto: Add i2c OCC hwmon node
ARM: dts: aspeed: stardragon4800: Add power supply

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+255 -3
+10
arch/arm/boot/dts/aspeed-bmc-arm-stardragon4800-rep2.dts
··· 173 173 }; 174 174 }; 175 175 }; 176 + 177 + dps650ab@58 { 178 + compatible = "delta,dps650ab"; 179 + reg = <0x58>; 180 + }; 181 + 182 + dps650ab@59 { 183 + compatible = "delta,dps650ab"; 184 + reg = <0x59>; 185 + }; 176 186 }; 177 187 178 188 &i2c9 {
+53 -2
arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts
··· 21 21 memory@80000000 { 22 22 reg = <0x80000000 0x20000000>; 23 23 }; 24 + 25 + iio-hwmon { 26 + compatible = "iio-hwmon"; 27 + io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, 28 + <&adc 4>, <&adc 5>, <&adc 6>; 29 + }; 30 + 31 + iio-hwmon-battery { 32 + compatible = "iio-hwmon"; 33 + io-channels = <&adc 7>; 34 + }; 24 35 }; 25 36 26 37 &fmc { ··· 54 43 }; 55 44 }; 56 45 46 + &lpc_snoop { 47 + status = "okay"; 48 + snoop-ports = <0x80>; 49 + }; 50 + 51 + &lpc_ctrl { 52 + // Enable lpc clock 53 + status = "okay"; 54 + }; 55 + 57 56 &uart1 { 58 57 // Host Console 59 58 status = "okay"; ··· 72 51 &pinctrl_rxd1_default>; 73 52 }; 74 53 54 + &uart2 { 55 + // SoL Host Console 56 + status = "okay"; 57 + }; 58 + 59 + &uart3 { 60 + // SoL BMC Console 61 + status = "okay"; 62 + }; 63 + 75 64 &uart5 { 76 65 // BMC Console 77 66 status = "okay"; 67 + }; 68 + 69 + &kcs2 { 70 + // BMC KCS channel 2 71 + status = "okay"; 72 + kcs_addr = <0xca8>; 73 + }; 74 + 75 + &kcs3 { 76 + // BMC KCS channel 3 77 + status = "okay"; 78 + kcs_addr = <0xca2>; 78 79 }; 79 80 80 81 &mac0 { ··· 105 62 pinctrl-names = "default"; 106 63 pinctrl-0 = <&pinctrl_rmii1_default>; 107 64 use-ncsi; 65 + }; 66 + 67 + &adc { 68 + status = "okay"; 108 69 }; 109 70 110 71 &i2c0 { ··· 169 122 170 123 &i2c8 { 171 124 status = "okay"; 125 + tmp421@1f { 126 + compatible = "ti,tmp421"; 127 + reg = <0x1f>; 128 + }; 172 129 //Mezz Sensor SMBus 173 130 }; 174 131 ··· 191 140 }; 192 141 193 142 fan@1 { 194 - reg = <0x00>; 195 - aspeed,fan-tach-ch = /bits/ 8 <0x01>; 143 + reg = <0x01>; 144 + aspeed,fan-tach-ch = /bits/ 8 <0x02>; 196 145 }; 197 146 };
+145
arch/arm/boot/dts/aspeed-bmc-inspur-on5263m5.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + // Copyright (c) 2018 Inspur Corporation 3 + /dts-v1/; 4 + 5 + #include "aspeed-g5.dtsi" 6 + #include <dt-bindings/gpio/aspeed-gpio.h> 7 + 8 + / { 9 + model = "ON5263M5 BMC"; 10 + compatible = "inspur,on5263m5-bmc", "aspeed,ast2500"; 11 + 12 + chosen { 13 + stdout-path = &uart5; 14 + bootargs = "earlyprintk"; 15 + }; 16 + 17 + memory { 18 + reg = <0x80000000 0x20000000>; 19 + }; 20 + 21 + reserved-memory { 22 + #address-cells = <1>; 23 + #size-cells = <1>; 24 + ranges; 25 + 26 + vga_memory: framebuffer@9f000000 { 27 + no-map; 28 + reg = <0x9f000000 0x01000000>; 29 + }; 30 + }; 31 + 32 + leds { 33 + compatible = "gpio-leds"; 34 + bmc_alive { 35 + label = "bmc_alive"; 36 + gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>; 37 + linux,default-trigger = "timer"; 38 + }; 39 + }; 40 + 41 + iio-hwmon { 42 + compatible = "iio-hwmon"; 43 + io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, 44 + <&adc 4>, <&adc 5>, <&adc 6>, <&adc 7>; 45 + }; 46 + 47 + }; 48 + 49 + &fmc { 50 + status = "okay"; 51 + flash@0 { 52 + status = "okay"; 53 + m25p,fast-read; 54 + label = "bmc"; 55 + #include "openbmc-flash-layout.dtsi" 56 + }; 57 + }; 58 + 59 + &spi1 { 60 + status = "okay"; 61 + pinctrl-names = "default"; 62 + pinctrl-0 = <&pinctrl_spi1_default>; 63 + 64 + flash@0 { 65 + status = "okay"; 66 + m25p,fast-read; 67 + label = "pnor"; 68 + }; 69 + }; 70 + 71 + &uart5 { 72 + status = "okay"; 73 + }; 74 + 75 + &mac0 { 76 + status = "okay"; 77 + 78 + pinctrl-names = "default"; 79 + pinctrl-0 = <&pinctrl_rmii1_default>; 80 + use-ncsi; 81 + }; 82 + 83 + &mac1 { 84 + status = "okay"; 85 + 86 + pinctrl-names = "default"; 87 + pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 88 + }; 89 + 90 + &i2c6 { 91 + status = "okay"; 92 + 93 + tmp421@4e { 94 + compatible = "ti,tmp421"; 95 + reg = <0x4e>; 96 + }; 97 + 98 + tmp112@48 { 99 + compatible = "ti,tmp112"; 100 + reg = <0x48>; 101 + }; 102 + 103 + eeprom@54 { 104 + compatible = "atmel,24c64"; 105 + reg = <0x54>; 106 + pagesize = <32>; 107 + }; 108 + }; 109 + 110 + &i2c7 { 111 + status = "okay"; 112 + 113 + adm1278@11 { 114 + compatible = "adi,adm1278"; 115 + reg = <0x11>; 116 + }; 117 + }; 118 + 119 + &gfx { 120 + status = "okay"; 121 + }; 122 + 123 + &pinctrl { 124 + aspeed,external-nodes = <&gfx &lhc>; 125 + }; 126 + 127 + &pwm_tacho { 128 + status = "okay"; 129 + pinctrl-names = "default"; 130 + pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>; 131 + 132 + fan@0 { 133 + reg = <0x00>; 134 + aspeed,fan-tach-ch = /bits/ 8 <0x00 0x01>; 135 + }; 136 + 137 + fan@1 { 138 + reg = <0x01>; 139 + aspeed,fan-tach-ch = /bits/ 8 <0x02 0x03>; 140 + }; 141 + }; 142 + 143 + &adc { 144 + status = "okay"; 145 + };
+5
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
··· 169 169 170 170 &i2c3 { 171 171 status = "okay"; 172 + 173 + occ-hwmon@50 { 174 + compatible = "ibm,p8-occ-hwmon"; 175 + reg = <0x50>; 176 + }; 172 177 }; 173 178 174 179 &i2c4 {
+8
arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
··· 116 116 status = "okay"; 117 117 }; 118 118 119 + &lpc_ctrl { 120 + status = "okay"; 121 + }; 122 + 119 123 &lpc_snoop { 120 124 status = "okay"; 121 125 snoop-ports = <0x80>; ··· 136 132 status = "okay"; 137 133 pinctrl-names = "default"; 138 134 pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 135 + }; 136 + 137 + &uart1 { 138 + status = "okay"; 139 139 }; 140 140 141 141 &uart5 {
+1
arch/arm/boot/dts/aspeed-g4.dtsi
··· 197 197 gpio-ranges = <&pinctrl 0 0 220>; 198 198 clocks = <&syscon ASPEED_CLK_APB>; 199 199 interrupt-controller; 200 + #interrupt-cells = <2>; 200 201 }; 201 202 202 203 timer: timer@1e782000 {
+33 -1
arch/arm/boot/dts/aspeed-g5.dtsi
··· 250 250 gpio-ranges = <&pinctrl 0 0 220>; 251 251 clocks = <&syscon ASPEED_CLK_APB>; 252 252 interrupt-controller; 253 + #interrupt-cells = <2>; 253 254 }; 254 255 255 256 timer: timer@1e782000 { ··· 331 330 ranges = <0x0 0x1e789000 0x1000>; 332 331 333 332 lpc_bmc: lpc-bmc@0 { 334 - compatible = "aspeed,ast2500-lpc-bmc"; 333 + compatible = "aspeed,ast2500-lpc-bmc", "simple-mfd", "syscon"; 335 334 reg = <0x0 0x80>; 335 + reg-io-width = <4>; 336 + 337 + #address-cells = <1>; 338 + #size-cells = <1>; 339 + ranges = <0x0 0x0 0x80>; 340 + 341 + kcs1: kcs1@0 { 342 + compatible = "aspeed,ast2500-kcs-bmc"; 343 + interrupts = <8>; 344 + kcs_chan = <1>; 345 + status = "disabled"; 346 + }; 347 + kcs2: kcs2@0 { 348 + compatible = "aspeed,ast2500-kcs-bmc"; 349 + interrupts = <8>; 350 + kcs_chan = <2>; 351 + status = "disabled"; 352 + }; 353 + kcs3: kcs3@0 { 354 + compatible = "aspeed,ast2500-kcs-bmc"; 355 + interrupts = <8>; 356 + kcs_chan = <3>; 357 + status = "disabled"; 358 + }; 336 359 }; 337 360 338 361 lpc_host: lpc-host@80 { ··· 367 342 #address-cells = <1>; 368 343 #size-cells = <1>; 369 344 ranges = <0x0 0x80 0x1e0>; 345 + 346 + kcs4: kcs4@0 { 347 + compatible = "aspeed,ast2500-kcs-bmc"; 348 + interrupts = <8>; 349 + kcs_chan = <4>; 350 + status = "disabled"; 351 + }; 370 352 371 353 lpc_ctrl: lpc-ctrl@0 { 372 354 compatible = "aspeed,ast2500-lpc-ctrl";