1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Common Bindings for Cisco Meraki MX64 (Kingpin) and MX65 (Alamo) devices.
5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com>
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>
15 compatible = "pwm-leds";
18 function = LED_FUNCTION_INDICATOR;
19 color = <LED_COLOR_ID_RED>;
20 pwms = <&pwm 1 50000>;
21 max-brightness = <255>;
25 function = LED_FUNCTION_POWER;
26 color = <LED_COLOR_ID_GREEN>;
27 pwms = <&pwm 2 50000>;
28 max-brightness = <255>;
32 function = LED_FUNCTION_INDICATOR;
33 color = <LED_COLOR_ID_BLUE>;
34 pwms = <&pwm 3 50000>;
35 max-brightness = <255>;
42 nvmem-cells = <&mac_address>;
43 nvmem-cell-names = "mac-address";
54 compatible = "atmel,24c64";
61 mac_address: mac-address@66 {
69 compatible = "brcm,nandcs";
76 nand-ecc-strength = <24>;
77 nand-ecc-step-size = <1024>;
79 brcm,nand-oob-sector-size = <27>;
89 reg = <0x80000 0x80000>;
94 label = "bootkernel1";
95 reg = <0x100000 0x300000>;
100 reg = <0x400000 0x100000>;
104 label = "bootkernel2";
105 reg = <0x500000 0x300000>;
110 reg = <0x800000 0x3f700000>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&pwm_leds>;
125 groups = "pwm1_grp", "pwm2_grp", "pwm3_grp";
135 clock-frequency = <62500000>;