am572x-idk.dts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /*
  2. * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/
  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 version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. #include "dra74x.dtsi"
  10. #include <dt-bindings/gpio/gpio.h>
  11. #include <dt-bindings/interrupt-controller/irq.h>
  12. #include "am57xx-idk-common.dtsi"
  13. / {
  14. model = "TI AM5728 IDK";
  15. compatible = "ti,am5728-idk", "ti,am5728", "ti,dra742", "ti,dra74",
  16. "ti,dra7";
  17. memory@0 {
  18. device_type = "memory";
  19. reg = <0x0 0x80000000 0x0 0x80000000>;
  20. };
  21. extcon_usb2: extcon_usb2 {
  22. compatible = "linux,extcon-usb-gpio";
  23. id-gpio = <&gpio3 16 GPIO_ACTIVE_HIGH>;
  24. };
  25. status-leds {
  26. compatible = "gpio-leds";
  27. cpu0-led {
  28. label = "status0:red:cpu0";
  29. gpios = <&gpio4 0 GPIO_ACTIVE_HIGH>;
  30. default-state = "off";
  31. linux,default-trigger = "cpu0";
  32. };
  33. usr0-led {
  34. label = "status0:green:usr";
  35. gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
  36. default-state = "off";
  37. };
  38. heartbeat-led {
  39. label = "status0:blue:heartbeat";
  40. gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
  41. default-state = "off";
  42. linux,default-trigger = "heartbeat";
  43. };
  44. cpu1-led {
  45. label = "status1:red:cpu1";
  46. gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
  47. default-state = "off";
  48. linux,default-trigger = "cpu1";
  49. };
  50. usr1-led {
  51. label = "status1:green:usr";
  52. gpios = <&gpio7 23 GPIO_ACTIVE_HIGH>;
  53. default-state = "off";
  54. };
  55. mmc0-led {
  56. label = "status1:blue:mmc0";
  57. gpios = <&gpio7 22 GPIO_ACTIVE_HIGH>;
  58. default-state = "off";
  59. linux,default-trigger = "mmc0";
  60. };
  61. };
  62. };
  63. &omap_dwc3_2 {
  64. extcon = <&extcon_usb2>;
  65. };
  66. &mmc1 {
  67. status = "okay";
  68. vmmc-supply = <&v3_3d>;
  69. vmmc_aux-supply = <&ldo1_reg>;
  70. bus-width = <4>;
  71. cd-gpios = <&gpio6 27 0>; /* gpio 219 */
  72. };