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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/broadcom/bcm53015-meraki-mr26.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-or-later OR MIT
  2 /*
  3  * Broadcom BCM470X / BCM5301X ARM platform code.
  4  * DTS for Meraki MR26 / Codename: Venom
  5  *
  6  * Copyright (C) 2022 Christian Lamparter <chunkeey@gmail.com>
  7  */
  8 
  9 /dts-v1/;
 10 
 11 #include "bcm4708.dtsi"
 12 #include "bcm5301x-nand-cs0-bch8.dtsi"
 13 #include <dt-bindings/leds/common.h>
 14 
 15 / {
 16         compatible = "meraki,mr26", "brcm,bcm53015", "brcm,bcm4708";
 17         model = "Meraki MR26";
 18 
 19         memory@0 {
 20                 reg = <0x00000000 0x08000000>;
 21                 device_type = "memory";
 22         };
 23 
 24         leds {
 25                 compatible = "gpio-leds";
 26 
 27                 led-0 {
 28                         function = LED_FUNCTION_FAULT;
 29                         color = <LED_COLOR_ID_AMBER>;
 30                         gpios = <&chipcommon 13 GPIO_ACTIVE_HIGH>;
 31                         panic-indicator;
 32                 };
 33                 led-1 {
 34                         function = LED_FUNCTION_INDICATOR;
 35                         color = <LED_COLOR_ID_WHITE>;
 36                         gpios = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
 37                 };
 38         };
 39 
 40         keys {
 41                 compatible = "gpio-keys";
 42 
 43                 key-restart {
 44                         label = "Reset";
 45                         linux,code = <KEY_RESTART>;
 46                         gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
 47                 };
 48         };
 49 };
 50 
 51 &uart0 {
 52         clock-frequency = <50000000>;
 53         /delete-property/ clocks;
 54 };
 55 
 56 &uart1 {
 57         status = "disabled";
 58 };
 59 
 60 &gmac0 {
 61         status = "okay";
 62 };
 63 
 64 &gmac1 {
 65         status = "disabled";
 66 };
 67 &gmac2 {
 68         status = "disabled";
 69 };
 70 &gmac3 {
 71         status = "disabled";
 72 };
 73 
 74 &nandcs {
 75         partitions {
 76                 compatible = "fixed-partitions";
 77                 #address-cells = <0x1>;
 78                 #size-cells = <0x1>;
 79 
 80                 partition@0 {
 81                         label = "u-boot";
 82                         reg = <0x0 0x200000>;
 83                         read-only;
 84                 };
 85 
 86                 partition@200000 {
 87                         label = "u-boot-env";
 88                         reg = <0x200000 0x200000>;
 89                         /* empty */
 90                 };
 91 
 92                 partition@400000 {
 93                         label = "u-boot-backup";
 94                         reg = <0x400000 0x200000>;
 95                         /* empty */
 96                 };
 97 
 98                 partition@600000 {
 99                         label = "u-boot-env-backup";
100                         reg = <0x600000 0x200000>;
101                         /* empty */
102                 };
103 
104                 partition@800000 {
105                         label = "ubi";
106                         reg = <0x800000 0x7780000>;
107                 };
108         };
109 };
110 
111 &srab {
112         status = "okay";
113 
114         ports {
115                 port@0 {
116                         label = "poe";
117                 };
118 
119                 port@5 {
120                         label = "cpu";
121 
122                         fixed-link {
123                                 speed = <1000>;
124                                 full-duplex;
125                         };
126                 };
127 
128                 port@7 {
129                         status = "disabled";
130                 };
131 
132                 port@8 {
133                         status = "disabled";
134                 };
135         };
136 };
137 
138 &i2c0 {
139         status = "okay";
140 
141         pinctrl-names = "default";
142         pinctrl-0 = <&pinmux_i2c>;
143 
144         clock-frequency = <100000>;
145 
146         ina219@40 {
147                 compatible = "ti,ina219"; /* PoE power */
148                 reg = <0x40>;
149                 shunt-resistor = <60000>; /* = 60 mOhms */
150         };
151 
152         eeprom@56 {
153                 compatible = "atmel,24c64";
154                 reg = <0x56>;
155                 pagesize = <32>;
156                 read-only;
157                 #address-cells = <1>;
158                 #size-cells = <1>;
159 
160                 /* it's empty */
161         };
162 };
163 
164 &thermal {
165         status = "disabled";
166         /* does not work, reads 418 degree Celsius */
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