1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot#include "qcom-ipq8064.dtsi" 3*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 4*f126890aSEmmanuel Vadot#include <dt-bindings/leds/common.h> 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot/ { 7*f126890aSEmmanuel Vadot model = "MikroTik RB3011UiAS-RM"; 8*f126890aSEmmanuel Vadot compatible = "mikrotik,rb3011", "qcom,ipq8064"; 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot aliases { 11*f126890aSEmmanuel Vadot serial0 = &gsbi7_serial; 12*f126890aSEmmanuel Vadot ethernet0 = &gmac0; 13*f126890aSEmmanuel Vadot ethernet1 = &gmac3; 14*f126890aSEmmanuel Vadot mdio-gpio0 = &mdio0; 15*f126890aSEmmanuel Vadot mdio-gpio1 = &mdio1; 16*f126890aSEmmanuel Vadot }; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot chosen { 19*f126890aSEmmanuel Vadot bootargs = "loglevel=8 console=ttyMSM0,115200"; 20*f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 21*f126890aSEmmanuel Vadot }; 22*f126890aSEmmanuel Vadot 23*f126890aSEmmanuel Vadot memory@42000000 { 24*f126890aSEmmanuel Vadot reg = <0x42000000 0x3e000000>; 25*f126890aSEmmanuel Vadot device_type = "memory"; 26*f126890aSEmmanuel Vadot }; 27*f126890aSEmmanuel Vadot 28*f126890aSEmmanuel Vadot mdio0: mdio-0 { 29*f126890aSEmmanuel Vadot status = "okay"; 30*f126890aSEmmanuel Vadot compatible = "virtual,mdio-gpio"; 31*f126890aSEmmanuel Vadot gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH>, 32*f126890aSEmmanuel Vadot <&qcom_pinmux 0 GPIO_ACTIVE_HIGH>; 33*f126890aSEmmanuel Vadot #address-cells = <1>; 34*f126890aSEmmanuel Vadot #size-cells = <0>; 35*f126890aSEmmanuel Vadot 36*f126890aSEmmanuel Vadot pinctrl-0 = <&mdio0_pins>; 37*f126890aSEmmanuel Vadot pinctrl-names = "default"; 38*f126890aSEmmanuel Vadot 39*f126890aSEmmanuel Vadot switch0: switch@10 { 40*f126890aSEmmanuel Vadot compatible = "qca,qca8337"; 41*f126890aSEmmanuel Vadot 42*f126890aSEmmanuel Vadot dsa,member = <0 0>; 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot pinctrl-0 = <&sw0_reset_pin>; 45*f126890aSEmmanuel Vadot pinctrl-names = "default"; 46*f126890aSEmmanuel Vadot 47*f126890aSEmmanuel Vadot reset-gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>; 48*f126890aSEmmanuel Vadot reg = <0x10>; 49*f126890aSEmmanuel Vadot 50*f126890aSEmmanuel Vadot ports { 51*f126890aSEmmanuel Vadot #address-cells = <1>; 52*f126890aSEmmanuel Vadot #size-cells = <0>; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot switch0cpu: port@0 { 55*f126890aSEmmanuel Vadot reg = <0>; 56*f126890aSEmmanuel Vadot label = "cpu"; 57*f126890aSEmmanuel Vadot ethernet = <&gmac0>; 58*f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 59*f126890aSEmmanuel Vadot fixed-link { 60*f126890aSEmmanuel Vadot speed = <1000>; 61*f126890aSEmmanuel Vadot full-duplex; 62*f126890aSEmmanuel Vadot }; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot port@1 { 66*f126890aSEmmanuel Vadot reg = <1>; 67*f126890aSEmmanuel Vadot label = "sw1"; 68*f126890aSEmmanuel Vadot 69*f126890aSEmmanuel Vadot leds { 70*f126890aSEmmanuel Vadot #address-cells = <1>; 71*f126890aSEmmanuel Vadot #size-cells = <0>; 72*f126890aSEmmanuel Vadot 73*f126890aSEmmanuel Vadot led@0 { 74*f126890aSEmmanuel Vadot reg = <0>; 75*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 76*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 77*f126890aSEmmanuel Vadot default-state = "keep"; 78*f126890aSEmmanuel Vadot }; 79*f126890aSEmmanuel Vadot }; 80*f126890aSEmmanuel Vadot }; 81*f126890aSEmmanuel Vadot 82*f126890aSEmmanuel Vadot port@2 { 83*f126890aSEmmanuel Vadot reg = <2>; 84*f126890aSEmmanuel Vadot label = "sw2"; 85*f126890aSEmmanuel Vadot 86*f126890aSEmmanuel Vadot leds { 87*f126890aSEmmanuel Vadot #address-cells = <1>; 88*f126890aSEmmanuel Vadot #size-cells = <0>; 89*f126890aSEmmanuel Vadot 90*f126890aSEmmanuel Vadot led@0 { 91*f126890aSEmmanuel Vadot reg = <0>; 92*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 93*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 94*f126890aSEmmanuel Vadot default-state = "keep"; 95*f126890aSEmmanuel Vadot }; 96*f126890aSEmmanuel Vadot }; 97*f126890aSEmmanuel Vadot }; 98*f126890aSEmmanuel Vadot 99*f126890aSEmmanuel Vadot port@3 { 100*f126890aSEmmanuel Vadot reg = <3>; 101*f126890aSEmmanuel Vadot label = "sw3"; 102*f126890aSEmmanuel Vadot 103*f126890aSEmmanuel Vadot leds { 104*f126890aSEmmanuel Vadot #address-cells = <1>; 105*f126890aSEmmanuel Vadot #size-cells = <0>; 106*f126890aSEmmanuel Vadot 107*f126890aSEmmanuel Vadot led@0 { 108*f126890aSEmmanuel Vadot reg = <0>; 109*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 110*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 111*f126890aSEmmanuel Vadot default-state = "keep"; 112*f126890aSEmmanuel Vadot }; 113*f126890aSEmmanuel Vadot }; 114*f126890aSEmmanuel Vadot }; 115*f126890aSEmmanuel Vadot 116*f126890aSEmmanuel Vadot port@4 { 117*f126890aSEmmanuel Vadot reg = <4>; 118*f126890aSEmmanuel Vadot label = "sw4"; 119*f126890aSEmmanuel Vadot 120*f126890aSEmmanuel Vadot leds { 121*f126890aSEmmanuel Vadot #address-cells = <1>; 122*f126890aSEmmanuel Vadot #size-cells = <0>; 123*f126890aSEmmanuel Vadot 124*f126890aSEmmanuel Vadot led@0 { 125*f126890aSEmmanuel Vadot reg = <0>; 126*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 127*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 128*f126890aSEmmanuel Vadot default-state = "keep"; 129*f126890aSEmmanuel Vadot }; 130*f126890aSEmmanuel Vadot }; 131*f126890aSEmmanuel Vadot }; 132*f126890aSEmmanuel Vadot 133*f126890aSEmmanuel Vadot port@5 { 134*f126890aSEmmanuel Vadot reg = <5>; 135*f126890aSEmmanuel Vadot label = "sw5"; 136*f126890aSEmmanuel Vadot 137*f126890aSEmmanuel Vadot leds { 138*f126890aSEmmanuel Vadot #address-cells = <1>; 139*f126890aSEmmanuel Vadot #size-cells = <0>; 140*f126890aSEmmanuel Vadot 141*f126890aSEmmanuel Vadot led@0 { 142*f126890aSEmmanuel Vadot reg = <0>; 143*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 144*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 145*f126890aSEmmanuel Vadot default-state = "keep"; 146*f126890aSEmmanuel Vadot }; 147*f126890aSEmmanuel Vadot }; 148*f126890aSEmmanuel Vadot }; 149*f126890aSEmmanuel Vadot }; 150*f126890aSEmmanuel Vadot }; 151*f126890aSEmmanuel Vadot }; 152*f126890aSEmmanuel Vadot 153*f126890aSEmmanuel Vadot mdio1: mdio-1 { 154*f126890aSEmmanuel Vadot status = "okay"; 155*f126890aSEmmanuel Vadot compatible = "virtual,mdio-gpio"; 156*f126890aSEmmanuel Vadot gpios = <&qcom_pinmux 11 GPIO_ACTIVE_HIGH>, 157*f126890aSEmmanuel Vadot <&qcom_pinmux 10 GPIO_ACTIVE_HIGH>; 158*f126890aSEmmanuel Vadot #address-cells = <1>; 159*f126890aSEmmanuel Vadot #size-cells = <0>; 160*f126890aSEmmanuel Vadot 161*f126890aSEmmanuel Vadot pinctrl-0 = <&mdio1_pins>; 162*f126890aSEmmanuel Vadot pinctrl-names = "default"; 163*f126890aSEmmanuel Vadot 164*f126890aSEmmanuel Vadot switch1: switch@14 { 165*f126890aSEmmanuel Vadot compatible = "qca,qca8337"; 166*f126890aSEmmanuel Vadot 167*f126890aSEmmanuel Vadot dsa,member = <1 0>; 168*f126890aSEmmanuel Vadot 169*f126890aSEmmanuel Vadot pinctrl-0 = <&sw1_reset_pin>; 170*f126890aSEmmanuel Vadot pinctrl-names = "default"; 171*f126890aSEmmanuel Vadot 172*f126890aSEmmanuel Vadot reset-gpios = <&qcom_pinmux 17 GPIO_ACTIVE_LOW>; 173*f126890aSEmmanuel Vadot reg = <0x10>; 174*f126890aSEmmanuel Vadot 175*f126890aSEmmanuel Vadot ports { 176*f126890aSEmmanuel Vadot #address-cells = <1>; 177*f126890aSEmmanuel Vadot #size-cells = <0>; 178*f126890aSEmmanuel Vadot 179*f126890aSEmmanuel Vadot switch1cpu: port@0 { 180*f126890aSEmmanuel Vadot reg = <0>; 181*f126890aSEmmanuel Vadot label = "cpu"; 182*f126890aSEmmanuel Vadot ethernet = <&gmac3>; 183*f126890aSEmmanuel Vadot phy-mode = "sgmii"; 184*f126890aSEmmanuel Vadot fixed-link { 185*f126890aSEmmanuel Vadot speed = <1000>; 186*f126890aSEmmanuel Vadot full-duplex; 187*f126890aSEmmanuel Vadot }; 188*f126890aSEmmanuel Vadot }; 189*f126890aSEmmanuel Vadot 190*f126890aSEmmanuel Vadot port@1 { 191*f126890aSEmmanuel Vadot reg = <1>; 192*f126890aSEmmanuel Vadot label = "sw6"; 193*f126890aSEmmanuel Vadot 194*f126890aSEmmanuel Vadot leds { 195*f126890aSEmmanuel Vadot #address-cells = <1>; 196*f126890aSEmmanuel Vadot #size-cells = <0>; 197*f126890aSEmmanuel Vadot 198*f126890aSEmmanuel Vadot led@0 { 199*f126890aSEmmanuel Vadot reg = <0>; 200*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 201*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 202*f126890aSEmmanuel Vadot default-state = "keep"; 203*f126890aSEmmanuel Vadot }; 204*f126890aSEmmanuel Vadot }; 205*f126890aSEmmanuel Vadot }; 206*f126890aSEmmanuel Vadot 207*f126890aSEmmanuel Vadot port@2 { 208*f126890aSEmmanuel Vadot reg = <2>; 209*f126890aSEmmanuel Vadot label = "sw7"; 210*f126890aSEmmanuel Vadot 211*f126890aSEmmanuel Vadot leds { 212*f126890aSEmmanuel Vadot #address-cells = <1>; 213*f126890aSEmmanuel Vadot #size-cells = <0>; 214*f126890aSEmmanuel Vadot 215*f126890aSEmmanuel Vadot led@0 { 216*f126890aSEmmanuel Vadot reg = <0>; 217*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 218*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 219*f126890aSEmmanuel Vadot default-state = "keep"; 220*f126890aSEmmanuel Vadot }; 221*f126890aSEmmanuel Vadot }; 222*f126890aSEmmanuel Vadot }; 223*f126890aSEmmanuel Vadot 224*f126890aSEmmanuel Vadot port@3 { 225*f126890aSEmmanuel Vadot reg = <3>; 226*f126890aSEmmanuel Vadot label = "sw8"; 227*f126890aSEmmanuel Vadot 228*f126890aSEmmanuel Vadot leds { 229*f126890aSEmmanuel Vadot #address-cells = <1>; 230*f126890aSEmmanuel Vadot #size-cells = <0>; 231*f126890aSEmmanuel Vadot 232*f126890aSEmmanuel Vadot led@0 { 233*f126890aSEmmanuel Vadot reg = <0>; 234*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 235*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 236*f126890aSEmmanuel Vadot default-state = "keep"; 237*f126890aSEmmanuel Vadot }; 238*f126890aSEmmanuel Vadot }; 239*f126890aSEmmanuel Vadot }; 240*f126890aSEmmanuel Vadot 241*f126890aSEmmanuel Vadot port@4 { 242*f126890aSEmmanuel Vadot reg = <4>; 243*f126890aSEmmanuel Vadot label = "sw9"; 244*f126890aSEmmanuel Vadot 245*f126890aSEmmanuel Vadot leds { 246*f126890aSEmmanuel Vadot #address-cells = <1>; 247*f126890aSEmmanuel Vadot #size-cells = <0>; 248*f126890aSEmmanuel Vadot 249*f126890aSEmmanuel Vadot led@0 { 250*f126890aSEmmanuel Vadot reg = <0>; 251*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 252*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 253*f126890aSEmmanuel Vadot default-state = "keep"; 254*f126890aSEmmanuel Vadot }; 255*f126890aSEmmanuel Vadot }; 256*f126890aSEmmanuel Vadot }; 257*f126890aSEmmanuel Vadot 258*f126890aSEmmanuel Vadot port@5 { 259*f126890aSEmmanuel Vadot reg = <5>; 260*f126890aSEmmanuel Vadot label = "sw10"; 261*f126890aSEmmanuel Vadot 262*f126890aSEmmanuel Vadot leds { 263*f126890aSEmmanuel Vadot #address-cells = <1>; 264*f126890aSEmmanuel Vadot #size-cells = <0>; 265*f126890aSEmmanuel Vadot 266*f126890aSEmmanuel Vadot led@0 { 267*f126890aSEmmanuel Vadot reg = <0>; 268*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 269*f126890aSEmmanuel Vadot function = LED_FUNCTION_LAN; 270*f126890aSEmmanuel Vadot default-state = "keep"; 271*f126890aSEmmanuel Vadot }; 272*f126890aSEmmanuel Vadot }; 273*f126890aSEmmanuel Vadot }; 274*f126890aSEmmanuel Vadot }; 275*f126890aSEmmanuel Vadot }; 276*f126890aSEmmanuel Vadot }; 277*f126890aSEmmanuel Vadot 278*f126890aSEmmanuel Vadot soc { 279*f126890aSEmmanuel Vadot gsbi5: gsbi@1a200000 { 280*f126890aSEmmanuel Vadot qcom,mode = <GSBI_PROT_SPI>; 281*f126890aSEmmanuel Vadot status = "okay"; 282*f126890aSEmmanuel Vadot 283*f126890aSEmmanuel Vadot spi4: spi@1a280000 { 284*f126890aSEmmanuel Vadot status = "okay"; 285*f126890aSEmmanuel Vadot spi-max-frequency = <50000000>; 286*f126890aSEmmanuel Vadot 287*f126890aSEmmanuel Vadot pinctrl-0 = <&spi_pins>; 288*f126890aSEmmanuel Vadot pinctrl-names = "default"; 289*f126890aSEmmanuel Vadot 290*f126890aSEmmanuel Vadot cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>; 291*f126890aSEmmanuel Vadot 292*f126890aSEmmanuel Vadot norflash: flash@0 { 293*f126890aSEmmanuel Vadot compatible = "jedec,spi-nor"; 294*f126890aSEmmanuel Vadot #address-cells = <1>; 295*f126890aSEmmanuel Vadot #size-cells = <1>; 296*f126890aSEmmanuel Vadot spi-max-frequency = <50000000>; 297*f126890aSEmmanuel Vadot reg = <0>; 298*f126890aSEmmanuel Vadot 299*f126890aSEmmanuel Vadot partition@0 { 300*f126890aSEmmanuel Vadot label = "RouterBoot"; 301*f126890aSEmmanuel Vadot reg = <0x0 0x40000>; 302*f126890aSEmmanuel Vadot }; 303*f126890aSEmmanuel Vadot }; 304*f126890aSEmmanuel Vadot }; 305*f126890aSEmmanuel Vadot }; 306*f126890aSEmmanuel Vadot 307*f126890aSEmmanuel Vadot gpio-keys { 308*f126890aSEmmanuel Vadot compatible = "gpio-keys"; 309*f126890aSEmmanuel Vadot pinctrl-0 = <&buttons_pins>; 310*f126890aSEmmanuel Vadot pinctrl-names = "default"; 311*f126890aSEmmanuel Vadot 312*f126890aSEmmanuel Vadot button { 313*f126890aSEmmanuel Vadot label = "reset"; 314*f126890aSEmmanuel Vadot linux,code = <KEY_RESTART>; 315*f126890aSEmmanuel Vadot gpios = <&qcom_pinmux 66 GPIO_ACTIVE_LOW>; 316*f126890aSEmmanuel Vadot linux,input-type = <1>; 317*f126890aSEmmanuel Vadot debounce-interval = <60>; 318*f126890aSEmmanuel Vadot }; 319*f126890aSEmmanuel Vadot }; 320*f126890aSEmmanuel Vadot 321*f126890aSEmmanuel Vadot leds { 322*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 323*f126890aSEmmanuel Vadot pinctrl-0 = <&leds_pins>; 324*f126890aSEmmanuel Vadot pinctrl-names = "default"; 325*f126890aSEmmanuel Vadot 326*f126890aSEmmanuel Vadot led-0 { 327*f126890aSEmmanuel Vadot label = "rb3011:green:user"; 328*f126890aSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 329*f126890aSEmmanuel Vadot gpios = <&qcom_pinmux 33 GPIO_ACTIVE_HIGH>; 330*f126890aSEmmanuel Vadot default-state = "off"; 331*f126890aSEmmanuel Vadot }; 332*f126890aSEmmanuel Vadot }; 333*f126890aSEmmanuel Vadot 334*f126890aSEmmanuel Vadot }; 335*f126890aSEmmanuel Vadot}; 336*f126890aSEmmanuel Vadot 337*f126890aSEmmanuel Vadot&adm_dma { 338*f126890aSEmmanuel Vadot status = "okay"; 339*f126890aSEmmanuel Vadot}; 340*f126890aSEmmanuel Vadot 341*f126890aSEmmanuel Vadot&gmac0 { 342*f126890aSEmmanuel Vadot status = "okay"; 343*f126890aSEmmanuel Vadot 344*f126890aSEmmanuel Vadot phy-mode = "rgmii"; 345*f126890aSEmmanuel Vadot qcom,id = <0>; 346*f126890aSEmmanuel Vadot phy-handle = <&switch0cpu>; 347*f126890aSEmmanuel Vadot 348*f126890aSEmmanuel Vadot fixed-link { 349*f126890aSEmmanuel Vadot speed = <1000>; 350*f126890aSEmmanuel Vadot full-duplex; 351*f126890aSEmmanuel Vadot }; 352*f126890aSEmmanuel Vadot}; 353*f126890aSEmmanuel Vadot 354*f126890aSEmmanuel Vadot&gmac3 { 355*f126890aSEmmanuel Vadot status = "okay"; 356*f126890aSEmmanuel Vadot 357*f126890aSEmmanuel Vadot phy-mode = "sgmii"; 358*f126890aSEmmanuel Vadot qcom,id = <3>; 359*f126890aSEmmanuel Vadot phy-handle = <&switch1cpu>; 360*f126890aSEmmanuel Vadot 361*f126890aSEmmanuel Vadot fixed-link { 362*f126890aSEmmanuel Vadot speed = <1000>; 363*f126890aSEmmanuel Vadot full-duplex; 364*f126890aSEmmanuel Vadot }; 365*f126890aSEmmanuel Vadot}; 366*f126890aSEmmanuel Vadot 367*f126890aSEmmanuel Vadot&gsbi7 { 368*f126890aSEmmanuel Vadot status = "okay"; 369*f126890aSEmmanuel Vadot qcom,mode = <GSBI_PROT_I2C_UART>; 370*f126890aSEmmanuel Vadot}; 371*f126890aSEmmanuel Vadot 372*f126890aSEmmanuel Vadot&gsbi7_serial { 373*f126890aSEmmanuel Vadot status = "okay"; 374*f126890aSEmmanuel Vadot}; 375*f126890aSEmmanuel Vadot 376*f126890aSEmmanuel Vadot&hs_phy_1 { 377*f126890aSEmmanuel Vadot status = "okay"; 378*f126890aSEmmanuel Vadot}; 379*f126890aSEmmanuel Vadot 380*f126890aSEmmanuel Vadot&nand { 381*f126890aSEmmanuel Vadot status = "okay"; 382*f126890aSEmmanuel Vadot 383*f126890aSEmmanuel Vadot nand@0 { 384*f126890aSEmmanuel Vadot reg = <0>; 385*f126890aSEmmanuel Vadot 386*f126890aSEmmanuel Vadot nand-ecc-strength = <4>; 387*f126890aSEmmanuel Vadot nand-bus-width = <8>; 388*f126890aSEmmanuel Vadot nand-ecc-step-size = <512>; 389*f126890aSEmmanuel Vadot 390*f126890aSEmmanuel Vadot partitions { 391*f126890aSEmmanuel Vadot compatible = "fixed-partitions"; 392*f126890aSEmmanuel Vadot #address-cells = <1>; 393*f126890aSEmmanuel Vadot #size-cells = <1>; 394*f126890aSEmmanuel Vadot 395*f126890aSEmmanuel Vadot boot@0 { 396*f126890aSEmmanuel Vadot label = "RouterBoard NAND 1 Boot"; 397*f126890aSEmmanuel Vadot reg = <0x0000000 0x0800000>; 398*f126890aSEmmanuel Vadot }; 399*f126890aSEmmanuel Vadot 400*f126890aSEmmanuel Vadot main@800000 { 401*f126890aSEmmanuel Vadot label = "RouterBoard NAND 1 Main"; 402*f126890aSEmmanuel Vadot reg = <0x0800000 0x7800000>; 403*f126890aSEmmanuel Vadot }; 404*f126890aSEmmanuel Vadot }; 405*f126890aSEmmanuel Vadot }; 406*f126890aSEmmanuel Vadot}; 407*f126890aSEmmanuel Vadot 408*f126890aSEmmanuel Vadot&qcom_pinmux { 409*f126890aSEmmanuel Vadot buttons_pins: buttons_pins { 410*f126890aSEmmanuel Vadot mux { 411*f126890aSEmmanuel Vadot pins = "gpio66"; 412*f126890aSEmmanuel Vadot drive-strength = <16>; 413*f126890aSEmmanuel Vadot bias-disable; 414*f126890aSEmmanuel Vadot }; 415*f126890aSEmmanuel Vadot }; 416*f126890aSEmmanuel Vadot 417*f126890aSEmmanuel Vadot leds_pins: leds_pins { 418*f126890aSEmmanuel Vadot mux { 419*f126890aSEmmanuel Vadot pins = "gpio33"; 420*f126890aSEmmanuel Vadot drive-strength = <16>; 421*f126890aSEmmanuel Vadot bias-disable; 422*f126890aSEmmanuel Vadot }; 423*f126890aSEmmanuel Vadot }; 424*f126890aSEmmanuel Vadot 425*f126890aSEmmanuel Vadot mdio1_pins: mdio1_pins { 426*f126890aSEmmanuel Vadot mux { 427*f126890aSEmmanuel Vadot pins = "gpio10", "gpio11"; 428*f126890aSEmmanuel Vadot function = "gpio"; 429*f126890aSEmmanuel Vadot drive-strength = <8>; 430*f126890aSEmmanuel Vadot bias-disable; 431*f126890aSEmmanuel Vadot }; 432*f126890aSEmmanuel Vadot }; 433*f126890aSEmmanuel Vadot 434*f126890aSEmmanuel Vadot sw0_reset_pin: sw0_reset_pin { 435*f126890aSEmmanuel Vadot mux { 436*f126890aSEmmanuel Vadot pins = "gpio16"; 437*f126890aSEmmanuel Vadot drive-strength = <16>; 438*f126890aSEmmanuel Vadot function = "gpio"; 439*f126890aSEmmanuel Vadot bias-disable; 440*f126890aSEmmanuel Vadot input-disable; 441*f126890aSEmmanuel Vadot }; 442*f126890aSEmmanuel Vadot }; 443*f126890aSEmmanuel Vadot 444*f126890aSEmmanuel Vadot sw1_reset_pin: sw1_reset_pin { 445*f126890aSEmmanuel Vadot mux { 446*f126890aSEmmanuel Vadot pins = "gpio17"; 447*f126890aSEmmanuel Vadot drive-strength = <16>; 448*f126890aSEmmanuel Vadot function = "gpio"; 449*f126890aSEmmanuel Vadot bias-disable; 450*f126890aSEmmanuel Vadot input-disable; 451*f126890aSEmmanuel Vadot }; 452*f126890aSEmmanuel Vadot }; 453*f126890aSEmmanuel Vadot 454*f126890aSEmmanuel Vadot usb1_pwr_en_pins: usb1_pwr_en_pins { 455*f126890aSEmmanuel Vadot mux { 456*f126890aSEmmanuel Vadot pins = "gpio4"; 457*f126890aSEmmanuel Vadot function = "gpio"; 458*f126890aSEmmanuel Vadot drive-strength = <16>; 459*f126890aSEmmanuel Vadot bias-disable; 460*f126890aSEmmanuel Vadot output-high; 461*f126890aSEmmanuel Vadot }; 462*f126890aSEmmanuel Vadot }; 463*f126890aSEmmanuel Vadot}; 464*f126890aSEmmanuel Vadot 465*f126890aSEmmanuel Vadot&ss_phy_1 { 466*f126890aSEmmanuel Vadot status = "okay"; 467*f126890aSEmmanuel Vadot}; 468*f126890aSEmmanuel Vadot 469*f126890aSEmmanuel Vadot&usb3_1 { 470*f126890aSEmmanuel Vadot pinctrl-0 = <&usb1_pwr_en_pins>; 471*f126890aSEmmanuel Vadot pinctrl-names = "default"; 472*f126890aSEmmanuel Vadot 473*f126890aSEmmanuel Vadot status = "okay"; 474*f126890aSEmmanuel Vadot}; 475