rk3188-radxarock.dts 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*
  2. * Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. /dts-v1/;
  15. #include "rk3188.dtsi"
  16. / {
  17. model = "Radxa Rock";
  18. memory {
  19. reg = <0x60000000 0x80000000>;
  20. };
  21. soc {
  22. uart0: serial@10124000 {
  23. status = "okay";
  24. };
  25. uart1: serial@10126000 {
  26. status = "okay";
  27. };
  28. uart2: serial@20064000 {
  29. pinctrl-names = "default";
  30. pinctrl-0 = <&uart2_xfer>;
  31. status = "okay";
  32. };
  33. uart3: serial@20068000 {
  34. status = "okay";
  35. };
  36. gpio-keys {
  37. compatible = "gpio-keys";
  38. #address-cells = <1>;
  39. #size-cells = <0>;
  40. autorepeat;
  41. button@0 {
  42. gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
  43. linux,code = <116>;
  44. label = "GPIO Key Power";
  45. linux,input-type = <1>;
  46. gpio-key,wakeup = <1>;
  47. debounce-interval = <100>;
  48. };
  49. };
  50. gpio-leds {
  51. compatible = "gpio-leds";
  52. green {
  53. gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
  54. default-state = "off";
  55. };
  56. yellow {
  57. gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
  58. default-state = "off";
  59. };
  60. sleep {
  61. gpios = <&gpio0 15 0>;
  62. default-state = "off";
  63. };
  64. };
  65. };
  66. };