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