sun50i-a64-pine64-plus.dts 699 B

1234567891011121314151617181920212223242526272829303132333435
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. // Copyright (c) 2016 ARM Ltd.
  3. #include "sun50i-a64-pine64.dts"
  4. / {
  5. model = "Pine64+";
  6. compatible = "pine64,pine64-plus", "allwinner,sun50i-a64";
  7. /* TODO: Camera, touchscreen, etc. */
  8. };
  9. &emac {
  10. pinctrl-names = "default";
  11. pinctrl-0 = <&rgmii_pins>;
  12. phy-mode = "rgmii-txid";
  13. phy-handle = <&ext_rgmii_phy>;
  14. status = "okay";
  15. };
  16. &mdio {
  17. ext_rgmii_phy: ethernet-phy@1 {
  18. compatible = "ethernet-phy-ieee802.3-c22";
  19. reg = <1>;
  20. };
  21. };
  22. &reg_dc1sw {
  23. /*
  24. * Ethernet PHY needs 30ms to properly power up and some more
  25. * to initialize. 100ms should be plenty of time to finish
  26. * whole process.
  27. */
  28. regulator-enable-ramp-delay = <100000>;
  29. };