1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 /* 3 * Device Tree Bindings for Cisco Meraki MX64 series (Kingpin). 4 * 5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> 6 */ 7 8 #include "bcm958625-meraki-mx6x-common.dtsi" 9 10 / { 11 12 keys { 13 compatible = "gpio-keys-polled"; 14 autorepeat; 15 poll-interval = <20>; 16 17 button-reset { 18 label = "reset"; 19 linux,code = <KEY_RESTART>; 20 gpios = <&gpioa 6 GPIO_ACTIVE_LOW>; 21 }; 22 }; 23 24 leds { 25 compatible = "gpio-leds"; 26 27 led-0 { 28 /* green:lan1-left */ 29 function = LED_FUNCTION_ACTIVITY; 30 function-enumerator = <0>; 31 color = <LED_COLOR_ID_GREEN>; 32 gpios = <&gpioa 19 GPIO_ACTIVE_LOW>; 33 }; 34 35 led-1 { 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>; 41 }; 42 43 led-2 { 44 /* green:lan2-left */ 45 function = LED_FUNCTION_ACTIVITY; 46 function-enumerator = <2>; 47 color = <LED_COLOR_ID_GREEN>; 48 gpios = <&gpioa 24 GPIO_ACTIVE_LOW>; 49 }; 50 51 led-3 { 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>; 57 }; 58 59 led-4 { 60 /* green:lan3-left */ 61 function = LED_FUNCTION_ACTIVITY; 62 function-enumerator = <4>; 63 color = <LED_COLOR_ID_GREEN>; 64 gpios = <&gpioa 26 GPIO_ACTIVE_LOW>; 65 }; 66 67 led-5 { 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>; 73 }; 74 75 led-6 { 76 /* green:lan4-left */ 77 function = LED_FUNCTION_ACTIVITY; 78 function-enumerator = <6>; 79 color = <LED_COLOR_ID_GREEN>; 80 gpios = <&gpioa 28 GPIO_ACTIVE_LOW>; 81 }; 82 83 led-7 { 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>; 89 }; 90 91 led-8 { 92 /* green:wan-left */ 93 function = LED_FUNCTION_ACTIVITY; 94 function-enumerator = <8>; 95 color = <LED_COLOR_ID_GREEN>; 96 gpios = <&gpioa 30 GPIO_ACTIVE_LOW>; 97 }; 98 99 led-9 { 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>; 105 }; 106 107 led-a { 108 /* amber:power */ 109 function = LED_FUNCTION_FAULT; 110 color = <LED_COLOR_ID_AMBER>; 111 gpios = <&gpioa 0 GPIO_ACTIVE_LOW>; 112 }; 113 114 led-b { 115 /* white:status */ 116 function = LED_FUNCTION_STATUS; 117 color = <LED_COLOR_ID_WHITE>; 118 gpios = <&gpioa 31 GPIO_ACTIVE_HIGH>; 119 }; 120 }; 121 }; 122 123 &srab { 124 compatible = "brcm,bcm58625-srab", "brcm,nsp-srab"; 125 status = "okay"; 126 127 ports { 128 port@0 { 129 label = "lan1"; 130 reg = <0>; 131 }; 132 133 port@1 { 134 label = "lan2"; 135 reg = <1>; 136 }; 137 138 port@2 { 139 label = "lan3"; 140 reg = <2>; 141 }; 142 143 port@3 { 144 label = "lan4"; 145 reg = <3>; 146 }; 147 148 port@4 { 149 label = "wan"; 150 reg = <4>; 151 }; 152 153 port@8 { 154 ethernet = <&amac2>; 155 reg = <8>; 156 fixed-link { 157 speed = <1000>; 158 full-duplex; 159 }; 160 }; 161 }; 162 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.