~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/aspeed/aspeed-bmc-portwell-neptune.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 // Copyright (c) 2017 Facebook Inc.
  3 /dts-v1/;
  4 
  5 #include "aspeed-g5.dtsi"
  6 #include <dt-bindings/gpio/aspeed-gpio.h>
  7 
  8 / {
  9         model = "Portwell Neptune BMC";
 10         compatible = "portwell,neptune-bmc", "aspeed,ast2500";
 11         aliases {
 12                 serial0 = &uart1;
 13                 serial4 = &uart5;
 14         };
 15         chosen {
 16                 stdout-path = &uart5;
 17                 bootargs = "console=ttyS4,115200 earlycon";
 18         };
 19 
 20         memory@80000000 {
 21                 reg = <0x80000000 0x20000000>;
 22         };
 23 
 24         leds {
 25                 compatible = "gpio-leds";
 26                 postcode0 {
 27                         label = "BMC_UP";
 28                         gpios = <&gpio ASPEED_GPIO(H, 0) GPIO_ACTIVE_HIGH>;
 29                         default-state = "on";
 30                 };
 31                 postcode1 {
 32                         label = "BMC_HB";
 33                         gpios = <&gpio ASPEED_GPIO(H, 1) GPIO_ACTIVE_HIGH>;
 34                         linux,default-trigger = "heartbeat";
 35                 };
 36                 postcode2 {
 37                         label = "FAULT";
 38                         gpios = <&gpio ASPEED_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
 39                 };
 40                 // postcode3-7 are GPIOH3-H7
 41         };
 42 };
 43 
 44 &fmc {
 45         status = "okay";
 46         flash@0 {
 47                 status = "okay";
 48                 m25p,fast-read;
 49 #include "openbmc-flash-layout.dtsi"
 50         };
 51 };
 52 
 53 &spi1 {
 54         status = "okay";
 55         pinctrl-names = "default";
 56         pinctrl-0 = <&pinctrl_spi1_default>;
 57         flash@0 {
 58                 status = "okay";
 59                 m25p,fast-read;
 60                 label = "pnor";
 61         };
 62 };
 63 
 64 &uart1 {
 65         // Host Console
 66         status = "okay";
 67         pinctrl-names = "default";
 68         pinctrl-0 = <&pinctrl_txd1_default
 69                      &pinctrl_rxd1_default>;
 70 };
 71 
 72 &uart5 {
 73         // BMC Console
 74         status = "okay";
 75 };
 76 
 77 &mac0 {
 78         status = "okay";
 79 
 80         pinctrl-names = "default";
 81         pinctrl-0 = <&pinctrl_rmii1_default
 82                      &pinctrl_mdio1_default>;
 83         clocks = <&syscon ASPEED_CLK_GATE_MAC1CLK>,
 84                  <&syscon ASPEED_CLK_MAC1RCLK>;
 85         clock-names = "MACCLK", "RCLK";
 86 };
 87 
 88 &mac1 {
 89         status = "okay";
 90         pinctrl-names = "default";
 91         pinctrl-0 = <&pinctrl_rmii2_default>;
 92         clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>,
 93                  <&syscon ASPEED_CLK_MAC2RCLK>;
 94         clock-names = "MACCLK", "RCLK";
 95         use-ncsi;
 96 };
 97 
 98 &i2c1 {
 99         status = "okay";
100         // To PCIe slot SMBUS
101 };
102 
103 &i2c2 {
104         status = "okay";
105         // To LAN I210
106 };
107 
108 &i2c3 {
109         status = "okay";
110         // SMBus to COMe AB
111 };
112 
113 &i2c4 {
114         status = "okay";
115         // I2C to COMe AB
116 };
117 
118 &i2c5 {
119         status = "okay";
120 //      USB Debug card
121         pca9555@27 {
122                 compatible = "nxp,pca9555";
123                 reg = <0x27>;
124                 gpio-controller;
125                 #gpio-cells = <2>;
126         };
127 };
128 
129 &i2c6 {
130         status = "okay";
131         tpm@20 {
132                 compatible = "infineon,slb9645tt";
133                 reg = <0x20>;
134         };
135         tmp421@4e {
136                 compatible = "ti,tmp421";
137                 reg = <0x4e>;
138         };
139         tmp421@4f {
140                 compatible = "ti,tmp421";
141                 reg = <0x4f>;
142         };
143 };
144 
145 &i2c8 {
146         status = "okay";
147         eeprom@51 {
148                 compatible = "atmel,24c128";
149                 reg = <0x51>;
150                 pagesize = <32>;
151         };
152 };
153 
154 &pwm_tacho {
155         status = "okay";
156         pinctrl-names = "default";
157         pinctrl-0 = <&pinctrl_pwm0_default &pinctrl_pwm1_default>;
158         fan@0 {
159                 reg = <0x00>;
160                 aspeed,fan-tach-ch = /bits/ 8 <0x00>;
161         };
162 
163         fan@1 {
164                 reg = <0x00>;
165                 aspeed,fan-tach-ch = /bits/ 8 <0x01>;
166         };
167 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php