magic.dts 963 B

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