Y1.dts 707 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /dts-v1/;
  2. #include "Y1.dtsi"
  3. / {
  4. compatible = "lenovo,Y1", "ralink,mt7620a-soc";
  5. model = "Lenovo Y1";
  6. gpio-leds {
  7. compatible = "gpio-leds";
  8. power1 {
  9. label = "y1:blue:power";
  10. gpios = <&gpio0 9 1>;
  11. };
  12. wlan1 {
  13. label = "y1:blue:wifi";
  14. gpios = <&gpio3 0 1>;
  15. };
  16. wlan2 {
  17. label = "y1:blue:wifi5g";
  18. gpios = <&gpio2 10 1>;
  19. };
  20. usb {
  21. label = "y1:blue:usb";
  22. gpios = <&gpio2 12 1>;
  23. };
  24. lan {
  25. label = "y1:blue:lan";
  26. gpios = <&gpio2 15 1>;
  27. };
  28. internet {
  29. label = "y1:blue:internet";
  30. gpios = <&gpio2 11 1>;
  31. };
  32. };
  33. };
  34. &ethernet {
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&ephy_pins>;
  37. mtd-mac-address = <&factory 0x4>;
  38. mediatek,portmap = "llllw";
  39. };