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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/riscv/microchip/mpfs-tysom-m.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 /*
  3  * Original all-in-one devicetree:
  4  * Copyright (C) 2020-2022 - Aldec
  5  * Rewritten to use includes:
  6  * Copyright (C) 2022 - Conor Dooley <conor.dooley@microchip.com>
  7  */
  8 
  9 /dts-v1/;
 10 
 11 #include "mpfs.dtsi"
 12 #include "mpfs-tysom-m-fabric.dtsi"
 13 
 14 / {
 15         model = "Aldec TySOM-M-MPFS250T-REV2";
 16         compatible = "aldec,tysom-m-mpfs250t-rev2", "microchip,mpfs";
 17 
 18         aliases {
 19                 ethernet0 = &mac0;
 20                 ethernet1 = &mac1;
 21                 serial0 = &mmuart0;
 22                 serial1 = &mmuart1;
 23                 serial2 = &mmuart2;
 24                 serial3 = &mmuart3;
 25                 serial4 = &mmuart4;
 26                 gpio0 = &gpio0;
 27                 gpio1 = &gpio2;
 28         };
 29 
 30         chosen {
 31                 stdout-path = "serial1:115200n8";
 32         };
 33 
 34         ddrc_cache_lo: memory@80000000 {
 35                 device_type = "memory";
 36                 reg = <0x0 0x80000000 0x0 0x30000000>;
 37                 status = "okay";
 38         };
 39 
 40         ddrc_cache_hi: memory@1000000000 {
 41                 device_type = "memory";
 42                 reg = <0x10 0x00000000 0x0 0x40000000>;
 43                 status = "okay";
 44         };
 45 
 46         leds {
 47                 compatible = "gpio-leds";
 48                 status = "okay";
 49 
 50                 led0 {
 51                         gpios = <&gpio1 23 1>;
 52                         default-state = "on";
 53                         linux,default-trigger = "heartbeat";
 54                 };
 55         };
 56 };
 57 
 58 &i2c0 {
 59         status = "okay";
 60 };
 61 
 62 &i2c1 {
 63         status = "okay";
 64         hwmon: hwmon@45 {
 65                 status = "okay";
 66                 compatible = "ti,ina219";
 67                 reg = <0x45>;
 68                 shunt-resistor = <2000>;
 69         };
 70 };
 71 
 72 &gpio1 {
 73         interrupts = <27>, <28>, <29>, <30>,
 74                      <31>, <32>, <33>, <47>,
 75                      <35>, <36>, <37>, <38>,
 76                      <39>, <40>, <41>, <42>,
 77                      <43>, <44>, <45>, <46>,
 78                      <47>, <48>, <49>, <50>;
 79         status = "okay";
 80 };
 81 
 82 &mac0 {
 83         status = "okay";
 84         phy-mode = "gmii";
 85         phy-handle = <&phy0>;
 86 
 87 };
 88 
 89 &mac1 {
 90         status = "okay";
 91         phy-mode = "gmii";
 92         phy-handle = <&phy1>;
 93         phy1: ethernet-phy@1 {
 94                 reg = <1>;
 95         };
 96         phy0: ethernet-phy@0 {
 97                 reg = <0>;
 98         };
 99 };
100 
101 &mbox {
102         status = "okay";
103 };
104 
105 &mmc {
106         max-frequency = <200000000>;
107         cap-mmc-highspeed;
108         cap-sd-highspeed;
109         no-1-8-v;
110         disable-wp;
111         status = "okay";
112 };
113 
114 &mmuart1 {
115         status = "okay";
116 };
117 
118 &mmuart2 {
119         status = "okay";
120 };
121 
122 &mmuart3 {
123         status = "okay";
124 };
125 
126 &mmuart4 {
127         status = "okay";
128 };
129 
130 &refclk {
131         clock-frequency = <125000000>;
132 };
133 
134 &rtc {
135         status = "okay";
136 };
137 
138 &spi0 {
139         status = "okay";
140 };
141 
142 &spi1 {
143         status = "okay";
144         flash@0 {
145                 compatible = "micron,n25q128a11", "jedec,spi-nor";
146                 reg = <0x0>;
147                 spi-max-frequency = <10000000>;
148         };
149 };
150 
151 &syscontroller {
152         status = "okay";
153 };
154 
155 &usb {
156         status = "okay";
157         dr_mode = "host";
158 };

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