bcm47094-phicomm-k3.dts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. /*
  3. * Copyright (C) 2017 Hamster Tian <[email protected]>
  4. * Copyright (C) 2019 Hao Dong <[email protected]>
  5. */
  6. /dts-v1/;
  7. #include "bcm47094.dtsi"
  8. #include "bcm5301x-nand-cs0-bch4.dtsi"
  9. / {
  10. compatible = "phicomm,k3", "brcm,bcm47094", "brcm,bcm4708";
  11. model = "Phicomm K3";
  12. memory@0 {
  13. device_type = "memory";
  14. reg = <0x00000000 0x08000000>,
  15. <0x88000000 0x18000000>;
  16. };
  17. gpio-keys {
  18. compatible = "gpio-keys";
  19. button-restart {
  20. label = "Reset";
  21. linux,code = <KEY_RESTART>;
  22. gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>;
  23. };
  24. };
  25. };
  26. &uart1 {
  27. status = "okay";
  28. };
  29. &usb3_phy {
  30. status = "okay";
  31. };
  32. &nandcs {
  33. partitions {
  34. compatible = "fixed-partitions";
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. partition@0 {
  38. label = "boot";
  39. reg = <0x0000000 0x0080000>;
  40. read-only;
  41. };
  42. partition@80000 {
  43. label = "nvram";
  44. reg = <0x0080000 0x0100000>;
  45. };
  46. partition@180000{
  47. label = "phicomm";
  48. reg = <0x0180000 0x0280000>;
  49. read-only;
  50. };
  51. partition@400000 {
  52. label = "firmware";
  53. reg = <0x0400000 0x7C00000>;
  54. compatible = "brcm,trx";
  55. };
  56. };
  57. };