rk3036-sdk.dts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * (C) Copyright 2015 Rockchip Electronics Co., Ltd
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. /dts-v1/;
  7. #include "rk3036.dtsi"
  8. / {
  9. model = "SDK-RK3036";
  10. compatible = "sdk,sdk-rk3036", "rockchip,rk3036";
  11. chosen {
  12. stdout-path = &uart2;
  13. };
  14. vcc5v0_otg: vcc5v0-otg-drv {
  15. compatible = "regulator-fixed";
  16. regulator-name = "vcc5v0_otg";
  17. gpio = <&gpio0 26 GPIO_ACTIVE_HIGH>;
  18. pinctrl-names = "default";
  19. pinctrl-0 = <&otg_vbus_drv>;
  20. regulator-min-microvolt = <5000000>;
  21. regulator-max-microvolt = <5000000>;
  22. };
  23. vcc5v0_host: vcc5v0-host-drv {
  24. compatible = "regulator-fixed";
  25. regulator-name = "vcc5v0_host";
  26. gpio = <&gpio2 23 GPIO_ACTIVE_HIGH>;
  27. pinctrl-names = "default";
  28. pinctrl-0 = <&host_vbus_drv>;
  29. regulator-min-microvolt = <5000000>;
  30. regulator-max-microvolt = <5000000>;
  31. regulator-always-on;
  32. };
  33. };
  34. &i2c1 {
  35. status = "okay";
  36. hym8563: hym8563@51 {
  37. compatible = "haoyu,hym8563";
  38. reg = <0x51>;
  39. #clock-cells = <0>;
  40. clock-frequency = <32768>;
  41. clock-output-names = "xin32k";
  42. };
  43. };
  44. &usb_host {
  45. status = "okay";
  46. };
  47. &usb_otg {
  48. status = "okay";
  49. };
  50. &pinctrl {
  51. usb_otg {
  52. otg_vbus_drv: host-vbus-drv {
  53. rockchip,pins = <0 26 RK_FUNC_GPIO &pcfg_pull_none>;
  54. };
  55. };
  56. usb_host {
  57. host_vbus_drv: host-vbus-drv {
  58. rockchip,pins = <2 23 RK_FUNC_GPIO &pcfg_pull_none>;
  59. };
  60. };
  61. };