mstar-infinity.dtsi 934 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Copyright (c) 2020 thingy.jp.
  4. * Author: Daniel Palmer <[email protected]>
  5. */
  6. #include "mstar-v7.dtsi"
  7. #include <dt-bindings/gpio/msc313-gpio.h>
  8. / {
  9. cpu0_opp_table: opp_table0 {
  10. compatible = "operating-points-v2";
  11. opp-shared;
  12. opp-240000000 {
  13. opp-hz = /bits/ 64 <240000000>;
  14. opp-microvolt = <1000000>;
  15. clock-latency-ns = <300000>;
  16. };
  17. opp-400000000 {
  18. opp-hz = /bits/ 64 <400000000>;
  19. opp-microvolt = <1000000>;
  20. clock-latency-ns = <300000>;
  21. };
  22. opp-600000000 {
  23. opp-hz = /bits/ 64 <600000000>;
  24. opp-microvolt = <1000000>;
  25. clock-latency-ns = <300000>;
  26. };
  27. opp-800000000 {
  28. opp-hz = /bits/ 64 <800000000>;
  29. opp-microvolt = <1000000>;
  30. clock-latency-ns = <300000>;
  31. };
  32. };
  33. };
  34. &cpu0 {
  35. operating-points-v2 = <&cpu0_opp_table>;
  36. };
  37. &imi {
  38. reg = <0xa0000000 0x16000>;
  39. };
  40. &gpio {
  41. compatible = "mstar,msc313-gpio";
  42. status = "okay";
  43. };