Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * dts file for AppliedMicro (APM) Mustang Board
0004  *
0005  * Copyright (C) 2013, Applied Micro Circuits Corporation
0006  */
0007 
0008 /dts-v1/;
0009 
0010 /include/ "apm-storm.dtsi"
0011 
0012 / {
0013         model = "APM X-Gene Mustang board";
0014         compatible = "apm,mustang", "apm,xgene-storm";
0015 
0016         chosen { };
0017 
0018         memory {
0019                 device_type = "memory";
0020                 reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
0021         };
0022 
0023         gpio-keys {
0024                 compatible = "gpio-keys";
0025                 button {
0026                         label = "POWER";
0027                         linux,code = <116>;
0028                         linux,input-type = <0x1>;
0029                         interrupt-parent = <&sbgpio>;
0030                         interrupts = <0x5 0x1>;
0031                 };
0032         };
0033 
0034         poweroff_mbox: poweroff_mbox@10548000 {
0035                 compatible = "syscon";
0036                 reg = <0x0 0x10548000 0x0 0x30>;
0037         };
0038 
0039         poweroff: poweroff@10548010 {
0040                 compatible = "syscon-poweroff";
0041                 regmap = <&poweroff_mbox>;
0042                 offset = <0x10>;
0043                 mask = <0x1>;
0044         };
0045 };
0046 
0047 &pcie0clk {
0048         status = "ok";
0049 };
0050 
0051 &pcie0 {
0052         status = "ok";
0053 };
0054 
0055 &serial0 {
0056         status = "ok";
0057 };
0058 
0059 &menet {
0060         status = "ok";
0061 };
0062 
0063 &sgenet0 {
0064         status = "ok";
0065 };
0066 
0067 &sgenet1 {
0068         status = "ok";
0069 };
0070 
0071 &xgenet {
0072         status = "ok";
0073         rxlos-gpios = <&sbgpio 12 1>;
0074 };
0075 
0076 &mmc0 {
0077         status = "ok";
0078 };
0079 
0080 &mdio {
0081         menet0phy: phy@3 {
0082                 reg = <0x3>;
0083         };
0084         sgenet0phy: phy@4 {
0085                 reg = <0x4>;
0086         };
0087         sgenet1phy: phy@5 {
0088                 reg = <0x5>;
0089         };
0090 };