| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 | |
| 3 | #include "qca9558_devolo_dvl1xxx.dtsi" |
| 4 | |
| 5 | / { |
| 6 | compatible = "devolo,dvl1750e", "qca,qca9558"; |
| 7 | model = "devolo WiFi pro 1750e"; |
| 8 | |
| 9 | aliases { |
| 10 | led-boot = &led_status_blue; |
| 11 | led-failsafe = &led_status_red; |
| 12 | led-running = &led_status_blue; |
| 13 | led-upgrade = &led_status_red; |
| 14 | }; |
| 15 | |
| 16 | keys { |
| 17 | wps { |
| 18 | label = "WPS Button"; |
| 19 | linux,code = <KEY_WPS_BUTTON>; |
| 20 | gpios = <&gpio 16 GPIO_ACTIVE_LOW>; |
| 21 | debounce-interval = <60>; |
| 22 | }; |
| 23 | |
| 24 | usb_eject { |
| 25 | label = "USB Eject Button"; |
| 26 | linux,code = <BTN_0>; |
| 27 | linux,input-type = <EV_SW>; |
| 28 | gpios = <&gpio 19 GPIO_ACTIVE_LOW>; |
| 29 | debounce-interval = <60>; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | leds { |
| 34 | compatible = "gpio-leds"; |
| 35 | |
| 36 | led_status_blue: status_blue { |
| 37 | label = "blue:status"; |
| 38 | gpios = <&gpio 14 GPIO_ACTIVE_LOW>; |
| 39 | default-state = "on"; |
| 40 | }; |
| 41 | |
| 42 | led_status_red: status_red { |
| 43 | label = "red:status"; |
| 44 | gpios = <&gpio 15 GPIO_ACTIVE_LOW>; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | beeper { |
| 49 | compatible = "gpio-beeper"; |
| 50 | gpios = <&gpio 4 GPIO_ACTIVE_HIGH>; |
| 51 | }; |
| 52 | |
| 53 | gpio_export { |
| 54 | compatible = "gpio-export"; |
| 55 | |
| 56 | gpio_usb_power { |
| 57 | gpio-export,name = "devolo:power:usb"; |
| 58 | gpio-export,output = <1>; |
| 59 | gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; |
| 60 | }; |
| 61 | }; |
| 62 | }; |
| 63 | |
| 64 | &usb_phy0 { |
| 65 | status = "okay"; |
| 66 | }; |
| 67 | |
| 68 | &usb0 { |
| 69 | status = "okay"; |
| 70 | }; |
| 71 | |
| 72 | ð0 { |
| 73 | pll-data = <0xae000000 0x80000101 0x80001313>; |
| 74 | phy-mode = "rgmii-rxid"; |
| 75 | }; |
| 76 | |
| 77 | &gmac_config { |
| 78 | rxdv-delay = <3>; |
| 79 | rxd-delay = <3>; |
| 80 | txen-delay = <0>; |
| 81 | txd-delay = <0>; |
| 82 | }; |
| 83 | |
| 84 | &mdio1 { |
| 85 | status = "okay"; |
| 86 | |
| 87 | phy1: ethernet-phy@1 { |
| 88 | reg = <1>; |
| 89 | at803x-override-sgmii-link-check; |
| 90 | }; |
| 91 | }; |
| 92 | |
| 93 | ð1 { |
| 94 | status = "okay"; |
| 95 | |
| 96 | mtd-mac-address = <&art 0x00>; |
| 97 | mtd-mac-address-increment = <1>; |
| 98 | |
| 99 | phy-handle = <&phy1>; |
| 100 | pll-data = <0x03000101 0x00000101 0x00001313>; |
| 101 | |
| 102 | qca955x-sgmii-fixup; |
| 103 | }; |