1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/dts-v1/; 3*724ba675SRob Herring 4*724ba675SRob Herring#include "aspeed-g5.dtsi" 5*724ba675SRob Herring#include <dt-bindings/gpio/aspeed-gpio.h> 6*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h> 7*724ba675SRob Herring 8*724ba675SRob Herring/ { 9*724ba675SRob Herring model = "AMD DaytonaX BMC"; 10*724ba675SRob Herring compatible = "amd,daytonax-bmc", "aspeed,ast2500"; 11*724ba675SRob Herring 12*724ba675SRob Herring memory@80000000 { 13*724ba675SRob Herring reg = <0x80000000 0x20000000>; 14*724ba675SRob Herring }; 15*724ba675SRob Herring 16*724ba675SRob Herring reserved-memory { 17*724ba675SRob Herring #address-cells = <1>; 18*724ba675SRob Herring #size-cells = <1>; 19*724ba675SRob Herring ranges; 20*724ba675SRob Herring 21*724ba675SRob Herring video_engine_memory: jpegbuffer { 22*724ba675SRob Herring size = <0x02000000>; /* 32M */ 23*724ba675SRob Herring alignment = <0x01000000>; 24*724ba675SRob Herring compatible = "shared-dma-pool"; 25*724ba675SRob Herring reusable; 26*724ba675SRob Herring }; 27*724ba675SRob Herring }; 28*724ba675SRob Herring 29*724ba675SRob Herring aliases { 30*724ba675SRob Herring serial0 = &uart1; 31*724ba675SRob Herring serial4 = &uart5; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring chosen { 35*724ba675SRob Herring stdout-path = &uart5; 36*724ba675SRob Herring bootargs = "console=ttyS4,115200"; 37*724ba675SRob Herring }; 38*724ba675SRob Herring 39*724ba675SRob Herring leds { 40*724ba675SRob Herring compatible = "gpio-leds"; 41*724ba675SRob Herring 42*724ba675SRob Herring led-fault { 43*724ba675SRob Herring gpios = <&gpio ASPEED_GPIO(A, 2) GPIO_ACTIVE_LOW>; 44*724ba675SRob Herring }; 45*724ba675SRob Herring 46*724ba675SRob Herring led-identify { 47*724ba675SRob Herring gpios = <&gpio ASPEED_GPIO(A, 3) GPIO_ACTIVE_LOW>; 48*724ba675SRob Herring }; 49*724ba675SRob Herring }; 50*724ba675SRob Herring 51*724ba675SRob Herring iio-hwmon { 52*724ba675SRob Herring compatible = "iio-hwmon"; 53*724ba675SRob Herring io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, <&adc 4>, 54*724ba675SRob Herring <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>, 55*724ba675SRob Herring <&adc 10>, <&adc 11>, <&adc 12>, <&adc 13>, <&adc 14>, 56*724ba675SRob Herring <&adc 15>; 57*724ba675SRob Herring }; 58*724ba675SRob Herring}; 59*724ba675SRob Herring 60*724ba675SRob Herring&fmc { 61*724ba675SRob Herring status = "okay"; 62*724ba675SRob Herring flash@0 { 63*724ba675SRob Herring status = "okay"; 64*724ba675SRob Herring m25p,fast-read; 65*724ba675SRob Herring label = "bmc"; 66*724ba675SRob Herring #include "openbmc-flash-layout.dtsi" 67*724ba675SRob Herring }; 68*724ba675SRob Herring}; 69*724ba675SRob Herring 70*724ba675SRob Herring&mac0 { 71*724ba675SRob Herring status = "okay"; 72*724ba675SRob Herring pinctrl-names = "default"; 73*724ba675SRob Herring pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>; 74*724ba675SRob Herring}; 75*724ba675SRob Herring 76*724ba675SRob Herring&uart1 { 77*724ba675SRob Herring //Host Console 78*724ba675SRob Herring status = "okay"; 79*724ba675SRob Herring pinctrl-names = "default"; 80*724ba675SRob Herring pinctrl-0 = <&pinctrl_txd1_default 81*724ba675SRob Herring &pinctrl_rxd1_default 82*724ba675SRob Herring &pinctrl_nrts1_default 83*724ba675SRob Herring &pinctrl_ndtr1_default 84*724ba675SRob Herring &pinctrl_ndsr1_default 85*724ba675SRob Herring &pinctrl_ncts1_default 86*724ba675SRob Herring &pinctrl_ndcd1_default 87*724ba675SRob Herring &pinctrl_nri1_default>; 88*724ba675SRob Herring}; 89*724ba675SRob Herring 90*724ba675SRob Herring&uart5 { 91*724ba675SRob Herring //BMC Console 92*724ba675SRob Herring status = "okay"; 93*724ba675SRob Herring}; 94*724ba675SRob Herring 95*724ba675SRob Herring&vuart { 96*724ba675SRob Herring status = "okay"; 97*724ba675SRob Herring aspeed,lpc-io-reg = <0x3f8>; 98*724ba675SRob Herring aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; 99*724ba675SRob Herring}; 100*724ba675SRob Herring 101*724ba675SRob Herring&adc { 102*724ba675SRob Herring status = "okay"; 103*724ba675SRob Herring pinctrl-names = "default"; 104*724ba675SRob Herring pinctrl-0 = <&pinctrl_adc0_default 105*724ba675SRob Herring &pinctrl_adc1_default 106*724ba675SRob Herring &pinctrl_adc2_default 107*724ba675SRob Herring &pinctrl_adc3_default 108*724ba675SRob Herring &pinctrl_adc4_default 109*724ba675SRob Herring &pinctrl_adc5_default 110*724ba675SRob Herring &pinctrl_adc6_default 111*724ba675SRob Herring &pinctrl_adc7_default 112*724ba675SRob Herring &pinctrl_adc8_default 113*724ba675SRob Herring &pinctrl_adc9_default 114*724ba675SRob Herring &pinctrl_adc10_default 115*724ba675SRob Herring &pinctrl_adc11_default 116*724ba675SRob Herring &pinctrl_adc12_default 117*724ba675SRob Herring &pinctrl_adc13_default 118*724ba675SRob Herring &pinctrl_adc14_default 119*724ba675SRob Herring &pinctrl_adc15_default>; 120*724ba675SRob Herring}; 121*724ba675SRob Herring 122*724ba675SRob Herring&gpio { 123*724ba675SRob Herring status = "okay"; 124*724ba675SRob Herring gpio-line-names = 125*724ba675SRob Herring /*A0-A7*/ "","","led-fault","led-identify","","","","", 126*724ba675SRob Herring /*B0-B7*/ "","","","","","","","", 127*724ba675SRob Herring /*C0-C7*/ "id-button","","","","","","","", 128*724ba675SRob Herring /*D0-D7*/ "","","ASSERT_BMC_READY","","","","","", 129*724ba675SRob Herring /*E0-E7*/ "reset-button","reset-control","power-button","power-control","", 130*724ba675SRob Herring "power-good","power-ok","", 131*724ba675SRob Herring /*F0-F7*/ "","","","","","","BATTERY_DETECT","", 132*724ba675SRob Herring /*G0-G7*/ "","","","","","","","", 133*724ba675SRob Herring /*H0-H7*/ "","","","","","","","", 134*724ba675SRob Herring /*I0-I7*/ "","","","","","","","", 135*724ba675SRob Herring /*J0-J7*/ "","","","","","","","", 136*724ba675SRob Herring /*K0-K7*/ "","","","","","","","", 137*724ba675SRob Herring /*L0-L7*/ "","","","","","","","", 138*724ba675SRob Herring /*M0-M7*/ "","","","","","","","", 139*724ba675SRob Herring /*N0-N7*/ "","","","","","","","", 140*724ba675SRob Herring /*O0-O7*/ "","","","","","","","", 141*724ba675SRob Herring /*P0-P7*/ "","","","","","","","", 142*724ba675SRob Herring /*Q0-Q7*/ "","","","","","","","", 143*724ba675SRob Herring /*R0-R7*/ "","","","","","","","", 144*724ba675SRob Herring /*S0-S7*/ "","","","","","","","", 145*724ba675SRob Herring /*T0-T7*/ "","","","","","","","", 146*724ba675SRob Herring /*U0-U7*/ "","","","","","","","", 147*724ba675SRob Herring /*V0-V7*/ "","","","","","","","", 148*724ba675SRob Herring /*W0-W7*/ "","","","","","","","", 149*724ba675SRob Herring /*X0-X7*/ "","","","","","","","", 150*724ba675SRob Herring /*Y0-Y7*/ "","","","","","","","", 151*724ba675SRob Herring /*Z0-Z7*/ "","","","","","","","", 152*724ba675SRob Herring /*AA0-AA7*/ "","","","","","","","", 153*724ba675SRob Herring /*AB0-AB7*/ "FM_BMC_READ_SPD_TEMP","","","","","","","", 154*724ba675SRob Herring /*AC0-AC7*/ "","","","","","","",""; 155*724ba675SRob Herring}; 156*724ba675SRob Herring 157*724ba675SRob Herring&i2c0 { 158*724ba675SRob Herring status = "okay"; 159*724ba675SRob Herring}; 160*724ba675SRob Herring 161*724ba675SRob Herring&i2c1 { 162*724ba675SRob Herring status = "okay"; 163*724ba675SRob Herring}; 164*724ba675SRob Herring 165*724ba675SRob Herring&i2c2 { 166*724ba675SRob Herring status = "okay"; 167*724ba675SRob Herring}; 168*724ba675SRob Herring 169*724ba675SRob Herring&i2c3 { 170*724ba675SRob Herring status = "okay"; 171*724ba675SRob Herring}; 172*724ba675SRob Herring 173*724ba675SRob Herring&i2c4 { 174*724ba675SRob Herring status = "okay"; 175*724ba675SRob Herring}; 176*724ba675SRob Herring 177*724ba675SRob Herring&i2c5 { 178*724ba675SRob Herring status = "okay"; 179*724ba675SRob Herring}; 180*724ba675SRob Herring 181*724ba675SRob Herring&i2c6 { 182*724ba675SRob Herring status = "okay"; 183*724ba675SRob Herring}; 184*724ba675SRob Herring 185*724ba675SRob Herring&i2c7 { 186*724ba675SRob Herring status = "okay"; 187*724ba675SRob Herring}; 188*724ba675SRob Herring 189*724ba675SRob Herring&i2c8 { 190*724ba675SRob Herring status = "okay"; 191*724ba675SRob Herring}; 192*724ba675SRob Herring 193*724ba675SRob Herring&i2c10 { 194*724ba675SRob Herring status = "okay"; 195*724ba675SRob Herring}; 196*724ba675SRob Herring 197*724ba675SRob Herring&i2c11 { 198*724ba675SRob Herring status = "okay"; 199*724ba675SRob Herring}; 200*724ba675SRob Herring 201*724ba675SRob Herring&i2c12 { 202*724ba675SRob Herring status = "okay"; 203*724ba675SRob Herring}; 204*724ba675SRob Herring 205*724ba675SRob Herring&kcs3 { 206*724ba675SRob Herring status = "okay"; 207*724ba675SRob Herring aspeed,lpc-io-reg = <0xca2>; 208*724ba675SRob Herring}; 209*724ba675SRob Herring 210*724ba675SRob Herring&lpc_snoop { 211*724ba675SRob Herring status = "okay"; 212*724ba675SRob Herring snoop-ports = <0x80>, <0x81>; 213*724ba675SRob Herring}; 214*724ba675SRob Herring 215*724ba675SRob Herring&lpc_ctrl { 216*724ba675SRob Herring status = "okay"; 217*724ba675SRob Herring}; 218*724ba675SRob Herring 219*724ba675SRob Herring&pwm_tacho { 220*724ba675SRob Herring status = "okay"; 221*724ba675SRob Herring pinctrl-names = "default"; 222*724ba675SRob Herring pinctrl-0 = <&pinctrl_pwm0_default 223*724ba675SRob Herring &pinctrl_pwm1_default 224*724ba675SRob Herring &pinctrl_pwm2_default 225*724ba675SRob Herring &pinctrl_pwm3_default 226*724ba675SRob Herring &pinctrl_pwm4_default 227*724ba675SRob Herring &pinctrl_pwm5_default 228*724ba675SRob Herring &pinctrl_pwm6_default 229*724ba675SRob Herring &pinctrl_pwm7_default>; 230*724ba675SRob Herring 231*724ba675SRob Herring fan@0 { 232*724ba675SRob Herring reg = <0x00>; 233*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x00>; 234*724ba675SRob Herring }; 235*724ba675SRob Herring 236*724ba675SRob Herring fan@1 { 237*724ba675SRob Herring reg = <0x00>; 238*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x01>; 239*724ba675SRob Herring }; 240*724ba675SRob Herring 241*724ba675SRob Herring fan@2 { 242*724ba675SRob Herring reg = <0x01>; 243*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x02>; 244*724ba675SRob Herring }; 245*724ba675SRob Herring 246*724ba675SRob Herring fan@3 { 247*724ba675SRob Herring reg = <0x01>; 248*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x03>; 249*724ba675SRob Herring }; 250*724ba675SRob Herring 251*724ba675SRob Herring fan@4 { 252*724ba675SRob Herring reg = <0x02>; 253*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x04>; 254*724ba675SRob Herring }; 255*724ba675SRob Herring 256*724ba675SRob Herring fan@5 { 257*724ba675SRob Herring reg = <0x02>; 258*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x05>; 259*724ba675SRob Herring }; 260*724ba675SRob Herring 261*724ba675SRob Herring fan@6 { 262*724ba675SRob Herring reg = <0x03>; 263*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x06>; 264*724ba675SRob Herring }; 265*724ba675SRob Herring 266*724ba675SRob Herring fan@7 { 267*724ba675SRob Herring reg = <0x03>; 268*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x07>; 269*724ba675SRob Herring }; 270*724ba675SRob Herring 271*724ba675SRob Herring fan@8 { 272*724ba675SRob Herring reg = <0x04>; 273*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x08>; 274*724ba675SRob Herring }; 275*724ba675SRob Herring 276*724ba675SRob Herring fan@9 { 277*724ba675SRob Herring reg = <0x04>; 278*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x09>; 279*724ba675SRob Herring }; 280*724ba675SRob Herring 281*724ba675SRob Herring fan@10 { 282*724ba675SRob Herring reg = <0x05>; 283*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0a>; 284*724ba675SRob Herring }; 285*724ba675SRob Herring 286*724ba675SRob Herring fan@11 { 287*724ba675SRob Herring reg = <0x05>; 288*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0b>; 289*724ba675SRob Herring }; 290*724ba675SRob Herring 291*724ba675SRob Herring fan@12 { 292*724ba675SRob Herring reg = <0x06>; 293*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0c>; 294*724ba675SRob Herring }; 295*724ba675SRob Herring 296*724ba675SRob Herring fan@13 { 297*724ba675SRob Herring reg = <0x06>; 298*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0d>; 299*724ba675SRob Herring }; 300*724ba675SRob Herring 301*724ba675SRob Herring fan@14 { 302*724ba675SRob Herring reg = <0x07>; 303*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0e>; 304*724ba675SRob Herring }; 305*724ba675SRob Herring 306*724ba675SRob Herring fan@15 { 307*724ba675SRob Herring reg = <0x07>; 308*724ba675SRob Herring aspeed,fan-tach-ch = /bits/ 8 <0x0f>; 309*724ba675SRob Herring }; 310*724ba675SRob Herring}; 311*724ba675SRob Herring 312*724ba675SRob Herring&video { 313*724ba675SRob Herring status = "okay"; 314*724ba675SRob Herring memory-region = <&video_engine_memory>; 315*724ba675SRob Herring}; 316*724ba675SRob Herring 317*724ba675SRob Herring&vhub { 318*724ba675SRob Herring status = "okay"; 319*724ba675SRob Herring}; 320