1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Device Tree Bindings for Cisco Meraki MX64 series (Kingpin).
5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com>
8 #include "bcm958625-meraki-mx6x-common.dtsi"
13 compatible = "gpio-keys-polled";
19 linux,code = <KEY_RESTART>;
20 gpios = <&gpioa 6 GPIO_ACTIVE_LOW>;
25 compatible = "gpio-leds";
29 function = LED_FUNCTION_ACTIVITY;
30 function-enumerator = <0>;
31 color = <LED_COLOR_ID_GREEN>;
32 gpios = <&gpioa 19 GPIO_ACTIVE_LOW>;
36 /* green:lan1-right */
37 function = LED_FUNCTION_ACTIVITY;
38 function-enumerator = <1>;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpioa 18 GPIO_ACTIVE_LOW>;
45 function = LED_FUNCTION_ACTIVITY;
46 function-enumerator = <2>;
47 color = <LED_COLOR_ID_GREEN>;
48 gpios = <&gpioa 24 GPIO_ACTIVE_LOW>;
52 /* green:lan2-right */
53 function = LED_FUNCTION_ACTIVITY;
54 function-enumerator = <3>;
55 color = <LED_COLOR_ID_GREEN>;
56 gpios = <&gpioa 20 GPIO_ACTIVE_LOW>;
61 function = LED_FUNCTION_ACTIVITY;
62 function-enumerator = <4>;
63 color = <LED_COLOR_ID_GREEN>;
64 gpios = <&gpioa 26 GPIO_ACTIVE_LOW>;
68 /* green:lan3-right */
69 function = LED_FUNCTION_ACTIVITY;
70 function-enumerator = <5>;
71 color = <LED_COLOR_ID_GREEN>;
72 gpios = <&gpioa 25 GPIO_ACTIVE_LOW>;
77 function = LED_FUNCTION_ACTIVITY;
78 function-enumerator = <6>;
79 color = <LED_COLOR_ID_GREEN>;
80 gpios = <&gpioa 28 GPIO_ACTIVE_LOW>;
84 /* green:lan4-right */
85 function = LED_FUNCTION_ACTIVITY;
86 function-enumerator = <7>;
87 color = <LED_COLOR_ID_GREEN>;
88 gpios = <&gpioa 27 GPIO_ACTIVE_LOW>;
93 function = LED_FUNCTION_ACTIVITY;
94 function-enumerator = <8>;
95 color = <LED_COLOR_ID_GREEN>;
96 gpios = <&gpioa 30 GPIO_ACTIVE_LOW>;
100 /* green:wan-right */
101 function = LED_FUNCTION_ACTIVITY;
102 function-enumerator = <9>;
103 color = <LED_COLOR_ID_GREEN>;
104 gpios = <&gpioa 29 GPIO_ACTIVE_LOW>;
109 function = LED_FUNCTION_FAULT;
110 color = <LED_COLOR_ID_AMBER>;
111 gpios = <&gpioa 0 GPIO_ACTIVE_LOW>;
116 function = LED_FUNCTION_STATUS;
117 color = <LED_COLOR_ID_WHITE>;
118 gpios = <&gpioa 31 GPIO_ACTIVE_HIGH>;
124 compatible = "brcm,bcm58625-srab", "brcm,nsp-srab";