1 From f111016a8293b968f05450fec83020c94d0f88c2 Mon Sep 17 00:00:00 2001
2 From: Matthew Hagan <mnhagan88@gmail.com>
3 Date: Fri, 6 Aug 2021 21:44:32 +0100
4 Subject: [PATCH] ARM: dts: NSP: Add common bindings for MX64/MX65
6 These bindings are required for all Meraki MX64/MX65 devices. These
7 common bindings include memory (2GB), PWM LEDs, AMAC, I2C (AT24), NAND
8 partitions, EHCI, OHCI and pinctrl.
10 Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
11 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
13 .../dts/bcm958625-meraki-mx6x-common.dtsi | 129 ++++++++++++++++++
14 1 file changed, 129 insertions(+)
15 create mode 100644 arch/arm/boot/dts/bcm958625-meraki-mx6x-common.dtsi
18 +++ b/arch/arm/boot/dts/bcm958625-meraki-mx6x-common.dtsi
20 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
22 + * Common Bindings for Cisco Meraki MX64 (Kingpin) and MX65 (Alamo) devices.
24 + * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com>
27 +#include "bcm-nsp.dtsi"
28 +#include <dt-bindings/gpio/gpio.h>
29 +#include <dt-bindings/input/input.h>
30 +#include <dt-bindings/leds/common.h>
34 + compatible = "pwm-leds";
37 + function = LED_FUNCTION_INDICATOR;
38 + color = <LED_COLOR_ID_RED>;
39 + pwms = <&pwm 1 50000>;
40 + max-brightness = <255>;
44 + function = LED_FUNCTION_INDICATOR;
45 + color = <LED_COLOR_ID_GREEN>;
46 + pwms = <&pwm 2 50000>;
47 + max-brightness = <255>;
51 + function = LED_FUNCTION_INDICATOR;
52 + color = <LED_COLOR_ID_BLUE>;
53 + pwms = <&pwm 3 50000>;
54 + max-brightness = <255>;
71 + compatible = "atmel,24c64";
80 + compatible = "brcm,nandcs";
84 + #address-cells = <1>;
87 + nand-ecc-strength = <24>;
88 + nand-ecc-step-size = <1024>;
90 + brcm,nand-oob-sector-size = <27>;
94 + reg = <0x0 0x80000>;
100 + reg = <0x80000 0x80000>;
105 + label = "bootkernel1";
106 + reg = <0x100000 0x300000>;
111 + reg = <0x400000 0x100000>;
115 + label = "bootkernel2";
116 + reg = <0x500000 0x300000>;
121 + reg = <0x800000 0x3f700000>;
131 + pinctrl-names = "default";
132 + pinctrl-0 = <&pwm_leds>;
134 + pwm_leds: pwm_leds {
136 + groups = "pwm1_grp", "pwm2_grp", "pwm3_grp";
146 + clock-frequency = <62500000>;