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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/nuvoton/nuvoton-wpcm450-supermicro-x9sci-ln4f.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-only OR BSD-2-Clause
  2 // Copyright 2021 Jonathan Neuschäfer
  3 
  4 /dts-v1/;
  5 
  6 /* The last 16 MiB are dedicated to the GPU */
  7 /memreserve/ 0x07000000 0x01000000;
  8 
  9 #include "nuvoton-wpcm450.dtsi"
 10 
 11 #include <dt-bindings/input/linux-event-codes.h>
 12 #include <dt-bindings/gpio/gpio.h>
 13 
 14 / {
 15         model = "Supermicro X9SCi-LN4F BMC";
 16         compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450";
 17 
 18         aliases {
 19                 serial0 = &serial0;
 20                 serial1 = &serial1;
 21         };
 22 
 23         chosen {
 24                 stdout-path = "serial0:115200n8";
 25         };
 26 
 27         memory@0 {
 28                 device_type = "memory";
 29                 reg = <0 0x08000000>; /* 128 MiB */
 30         };
 31 
 32         gpio-keys {
 33                 compatible = "gpio-keys";
 34                 pinctrl-names = "default";
 35                 pinctrl-0 = <&key_pins>;
 36 
 37                 button-uid {
 38                         label = "UID button";
 39                         linux,code = <KEY_HOME>;
 40                         gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
 41                 };
 42         };
 43 
 44         gpio-leds {
 45                 compatible = "gpio-leds";
 46                 pinctrl-names = "default";
 47                 pinctrl-0 = <&led_pins>;
 48 
 49                 led-uid {
 50                         label = "UID";
 51                         gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
 52                 };
 53 
 54                 led-heartbeat {
 55                         label = "heartbeat";
 56                         gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
 57                 };
 58         };
 59 };
 60 
 61 &fiu {
 62         status = "okay";
 63 
 64         flash@0 {
 65                 reg = <0>;
 66                 compatible = "jedec,spi-nor";
 67         };
 68 };
 69 
 70 &gpio0 {
 71         gpio-line-names =
 72                 /* 0 */ "", "host-reset-control-n", "", "", "", "", "", "",
 73                 /* 8 */ "", "", "", "", "power-chassis-control-n", "", "uid-button", "";
 74 };
 75 
 76 &gpio1 {
 77         gpio-line-names =
 78                 /* 0 */ "", "", "", "", "led-heartbeat", "", "", "led-uid",
 79                 /* 8 */ "", "", "", "", "", "", "", "";
 80 };
 81 
 82 &gpio4 {
 83         gpio-line-names =
 84                 /* 0 */ "", "", "", "", "", "", "", "",
 85                 /* 8 */ "", "", "", "", "", "", "", "power-chassis-good";
 86 };
 87 
 88 &pinctrl {
 89         key_pins: mux-keys {
 90                 groups = "gspi", "sspi";
 91                 function = "gpio";
 92         };
 93 
 94         led_pins: mux-leds {
 95                 groups = "hg3", "hg0", "pwm4";
 96                 function = "gpio";
 97         };
 98 };
 99 
100 &serial0 {
101         /*
102          * Debug serial port. TX is exposed on the right pad of unpopulated
103          * resistor R1247, RX on the right pad of R1162.
104          */
105         status = "okay";
106 };
107 
108 &serial1 {
109         /* "Serial over LAN" port. Connected to ttyS2 of the host system. */
110         status = "okay";
111 };

~ [ 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