Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 /dts-v1/;
0003 
0004 #include "aspeed-g5.dtsi"
0005 
0006 / {
0007         model = "AST2500 EVB";
0008         compatible = "aspeed,ast2500-evb", "aspeed,ast2500";
0009 
0010         aliases {
0011                 serial4 = &uart5;
0012         };
0013 
0014         chosen {
0015                 stdout-path = &uart5;
0016                 bootargs = "console=tty0 console=ttyS4,115200 earlycon";
0017         };
0018 
0019         memory@80000000 {
0020                 reg = <0x80000000 0x20000000>;
0021         };
0022 
0023         reserved-memory {
0024                 #address-cells = <1>;
0025                 #size-cells = <1>;
0026                 ranges;
0027 
0028                 gfx_memory: framebuffer {
0029                         size = <0x01000000>;
0030                         alignment = <0x01000000>;
0031                         compatible = "shared-dma-pool";
0032                         reusable;
0033                 };
0034         };
0035 };
0036 
0037 &fmc {
0038         status = "okay";
0039         flash@0 {
0040                 status = "okay";
0041                 m25p,fast-read;
0042                 label = "bmc";
0043                 spi-max-frequency = <50000000>;
0044 #include "openbmc-flash-layout.dtsi"
0045         };
0046 };
0047 
0048 &spi1 {
0049         status = "okay";
0050         flash@0 {
0051                 status = "okay";
0052                 m25p,fast-read;
0053                 label = "pnor";
0054                 spi-max-frequency = <100000000>;
0055         };
0056 };
0057 
0058 &spi2 {
0059         status = "okay";
0060 };
0061 
0062 &uart5 {
0063         status = "okay";
0064 };
0065 
0066 &mac0 {
0067         status = "okay";
0068 
0069         pinctrl-names = "default";
0070         pinctrl-0 = <&pinctrl_rgmii1_default &pinctrl_mdio1_default>;
0071 };
0072 
0073 &mac1 {
0074         status = "okay";
0075 
0076         pinctrl-names = "default";
0077         pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>;
0078 };
0079 
0080 &i2c3 {
0081         status = "okay";
0082 
0083         eeprom@50 {
0084                 compatible = "atmel,24c08";
0085                 reg = <0x50>;
0086                 pagesize = <16>;
0087         };
0088 };
0089 
0090 &i2c7 {
0091         status = "okay";
0092 
0093         lm75@4d {
0094                 compatible = "national,lm75";
0095                 reg = <0x4d>;
0096         };
0097 };
0098 
0099 &sdmmc {
0100         status = "okay";
0101 };
0102 
0103 &sdhci0 {
0104         status = "okay";
0105 
0106         pinctrl-names = "default";
0107         pinctrl-0 = <&pinctrl_sd1_default>;
0108 };
0109 
0110 /*
0111  * Enable port A as device (via the virtual hub) and port B as
0112  * host by default on the eval board. This can be easily changed
0113  * by replacing the override below with &ehci0 { ... } to enable
0114  * host on both ports.
0115  */
0116 &vhub {
0117         status = "okay";
0118 };
0119 
0120 &ehci1 {
0121         status = "okay";
0122 };
0123 
0124 &uhci {
0125         status = "okay";
0126 };
0127 
0128 &gfx {
0129      status = "okay";
0130      memory-region = <&gfx_memory>;
0131 };
0132 
0133 &rtc {
0134         status = "okay";
0135 };