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

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx6x-common.dtsi

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2 /*
  3  * Common Bindings for Cisco Meraki MX64 (Kingpin) and MX65 (Alamo) devices.
  4  *
  5  * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com>
  6  */
  7 
  8 #include "bcm-nsp.dtsi"
  9 #include <dt-bindings/gpio/gpio.h>
 10 #include <dt-bindings/input/input.h>
 11 #include <dt-bindings/leds/common.h>
 12 
 13 / {
 14         pwm-leds {
 15                 compatible = "pwm-leds";
 16 
 17                 led-1 {
 18                         function = LED_FUNCTION_INDICATOR;
 19                         color = <LED_COLOR_ID_RED>;
 20                         pwms = <&pwm 1 50000>;
 21                         max-brightness = <255>;
 22                 };
 23 
 24                 led-2 {
 25                         function = LED_FUNCTION_POWER;
 26                         color = <LED_COLOR_ID_GREEN>;
 27                         pwms = <&pwm 2 50000>;
 28                         max-brightness = <255>;
 29                 };
 30 
 31                 led-3 {
 32                         function = LED_FUNCTION_INDICATOR;
 33                         color = <LED_COLOR_ID_BLUE>;
 34                         pwms = <&pwm 3 50000>;
 35                         max-brightness = <255>;
 36                 };
 37         };
 38 };
 39 
 40 &amac2 {
 41         status = "okay";
 42         nvmem-cells = <&mac_address>;
 43         nvmem-cell-names = "mac-address";
 44 };
 45 
 46 &ehci0 {
 47         status = "okay";
 48 };
 49 
 50 &i2c0 {
 51         status = "okay";
 52 
 53         eeprom@50 {
 54                 compatible = "atmel,24c64";
 55                 reg = <0x50>;
 56                 pagesize = <32>;
 57                 read-only;
 58                 #address-cells = <1>;
 59                 #size-cells = <1>;
 60 
 61                 mac_address: mac-address@66 {
 62                         reg = <0x66 0x6>;
 63                 };
 64         };
 65 };
 66 
 67 &nand_controller {
 68         nand@0 {
 69                 compatible = "brcm,nandcs";
 70                 reg = <0>;
 71                 nand-on-flash-bbt;
 72 
 73                 #address-cells = <1>;
 74                 #size-cells = <1>;
 75 
 76                 nand-ecc-strength = <24>;
 77                 nand-ecc-step-size = <1024>;
 78 
 79                 brcm,nand-oob-sector-size = <27>;
 80 
 81                 partition@0 {
 82                         label = "u-boot";
 83                         reg = <0x0 0x80000>;
 84                         read-only;
 85                 };
 86 
 87                 partition@80000 {
 88                         label = "shmoo";
 89                         reg = <0x80000 0x80000>;
 90                         read-only;
 91                 };
 92 
 93                 partition@100000 {
 94                         label = "bootkernel1";
 95                         reg = <0x100000 0x300000>;
 96                 };
 97 
 98                 partition@400000 {
 99                         label = "nvram";
100                         reg = <0x400000 0x100000>;
101                 };
102 
103                 partition@500000 {
104                         label = "bootkernel2";
105                         reg = <0x500000 0x300000>;
106                 };
107 
108                 partition@800000 {
109                         label = "ubi";
110                         reg = <0x800000 0x3f700000>;
111                 };
112         };
113 };
114 
115 &ohci0 {
116         status = "okay";
117 };
118 
119 &pinctrl {
120         pinctrl-names = "default";
121         pinctrl-0 = <&pwm_leds>;
122 
123         pwm_leds: pwm_leds {
124                 function = "pwm";
125                 groups = "pwm1_grp", "pwm2_grp", "pwm3_grp";
126         };
127 };
128 
129 &pwm {
130         status = "okay";
131         #pwm-cells = <2>;
132 };
133 
134 &uart0 {
135         clock-frequency = <62500000>;
136         status = "okay";
137 };

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