kirkwood-dns325.dts 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. #include "kirkwood-dnskw.dtsi"
  4. / {
  5. model = "D-Link DNS-325 NAS (Rev A1)";
  6. compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  7. memory {
  8. device_type = "memory";
  9. reg = <0x00000000 0x10000000>;
  10. };
  11. chosen {
  12. bootargs = "console=ttyS0,115200n8 earlyprintk";
  13. stdout-path = &uart0;
  14. };
  15. gpio-leds {
  16. compatible = "gpio-leds";
  17. pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_325
  18. &pmx_led_red_left_hdd &pmx_led_red_right_hdd
  19. &pmx_led_white_usb>;
  20. pinctrl-names = "default";
  21. white-power {
  22. label = "dns325:white:power";
  23. gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
  24. default-state = "keep";
  25. };
  26. white-usb {
  27. label = "dns325:white:usb";
  28. gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */
  29. };
  30. red-l_hdd {
  31. label = "dns325:red:l_hdd";
  32. gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
  33. };
  34. red-r_hdd {
  35. label = "dns325:red:r_hdd";
  36. gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
  37. };
  38. red-usb {
  39. label = "dns325:red:usb";
  40. gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
  41. };
  42. };
  43. ocp@f1000000 {
  44. i2c@11000 {
  45. status = "okay";
  46. lm75: lm75@48 {
  47. compatible = "national,lm75";
  48. reg = <0x48>;
  49. };
  50. };
  51. serial@12000 {
  52. status = "okay";
  53. };
  54. };
  55. };