RT5350F-OLINUXINO-EVB.dts 594 B

1234567891011121314151617181920212223242526272829303132
  1. /dts-v1/;
  2. #include "RT5350F-OLINUXINO.dtsi"
  3. #include <dt-bindings/gpio/gpio.h>
  4. / {
  5. compatible = "olimex,rt5350f-olinuxino-evb", "ralink,rt5350-soc";
  6. model = "Olimex RT5350F-OLinuXino-EVB";
  7. gpio_export {
  8. compatible = "gpio-export";
  9. #size-cells = <0>;
  10. relay1 {
  11. gpio-export,name = "relay1";
  12. gpio-export,output = <0>;
  13. gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
  14. };
  15. relay2 {
  16. gpio-export,name = "relay2";
  17. gpio-export,output = <0>;
  18. gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
  19. };
  20. button {
  21. gpio-export,name = "button";
  22. gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
  23. };
  24. };
  25. };