magic.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. stdout-path = "serial0:115200n8";
  10. };
  11. gpio-leds {
  12. compatible = "gpio-leds";
  13. power {
  14. label = "MAGIC:green:power";
  15. gpios = <&pinctrl 0 1>;
  16. default-state = "on";
  17. };
  18. stop {
  19. label = "MAGIC:green:stop";
  20. gpios = <&pinctrl 1 1>;
  21. };
  22. hpna {
  23. label = "MAGIC:green:hpna";
  24. gpios = <&pinctrl 4 1>;
  25. };
  26. status {
  27. label = "MAGIC:green:adsl";
  28. gpios = <&pinctrl 5 1>;
  29. };
  30. voip {
  31. label = "MAGIC:green:voip";
  32. gpios = <&pinctrl 22 1>;
  33. };
  34. wifi {
  35. label = "MAGIC:green:wifi";
  36. gpios = <&pinctrl 28 0>;
  37. };
  38. usb {
  39. label = "MAGIC:green:usb";
  40. gpios = <&pinctrl 35 1>;
  41. };
  42. };
  43. };
  44. &pflash {
  45. status = "ok";
  46. linux,part-probe = "bcm63xxpart";
  47. partitions {
  48. compatible = "fixed-partitions";
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. cfe@0 {
  52. label = "CFE";
  53. reg = <0x000000 0x010000>;
  54. read-only;
  55. };
  56. linux@10000 {
  57. label = "linux";
  58. reg = <0x010000 0x3e0000>;
  59. compatible = "brcm,bcm963xx-imagetag";
  60. };
  61. nvram@3f0000 {
  62. label = "nvram";
  63. reg = <0x3f0000 0x010000>;
  64. };
  65. };
  66. };
  67. &pinctrl {
  68. pinctrl-names = "default";
  69. pinctrl-0 = <&pinctrl_pci &pinctrl_ext_mii &pinctrl_mii_pccard>;
  70. };
  71. &uart0 {
  72. status = "ok";
  73. };