magic.dts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /dts-v1/;
  2. #include "bcm6348.dtsi"
  3. #include <dt-bindings/input/input.h>
  4. / {
  5. model = "Alice W-Gate";
  6. compatible = "telsey,magic", "brcm,bcm6348";
  7. chosen {
  8. bootargs = "root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
  9. };
  10. gpio-leds {
  11. compatible = "gpio-leds";
  12. power {
  13. label = "MAGIC:green:power";
  14. gpios = <&gpio0 0 1>;
  15. default-state = "on";
  16. };
  17. stop {
  18. label = "MAGIC:green:stop";
  19. gpios = <&gpio0 1 1>;
  20. };
  21. hpna {
  22. label = "MAGIC:green:hpna";
  23. gpios = <&gpio0 4 1>;
  24. };
  25. status {
  26. label = "MAGIC:green:adsl";
  27. gpios = <&gpio0 5 1>;
  28. };
  29. voip {
  30. label = "MAGIC:green:voip";
  31. gpios = <&gpio0 22 1>;
  32. };
  33. wifi {
  34. label = "MAGIC:green:wifi";
  35. gpios = <&gpio0 28 0>;
  36. };
  37. usb {
  38. label = "MAGIC:green:usb";
  39. gpios = <&gpio1 3 1>;
  40. };
  41. };
  42. };
  43. &pflash {
  44. status = "ok";
  45. linux,part-probe = "bcm63xxpart";
  46. cfe@0 {
  47. label = "CFE";
  48. reg = <0x000000 0x010000>;
  49. read-only;
  50. };
  51. linux@10000 {
  52. label = "linux";
  53. reg = <0x010000 0x3e0000>;
  54. };
  55. nvram@3f0000 {
  56. label = "nvram";
  57. reg = <0x3f0000 0x010000>;
  58. };
  59. };