rtl83xx_hpe_1920.dtsi 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
  2. #include <dt-bindings/input/input.h>
  3. #include <dt-bindings/gpio/gpio.h>
  4. / {
  5. chosen {
  6. stdout-path = "serial0:38400n8";
  7. };
  8. memory@0 {
  9. device_type = "memory";
  10. reg = <0x0 0x8000000>;
  11. };
  12. watchdog1: watchdog {
  13. // PT7A7514
  14. compatible = "linux,wdt-gpio";
  15. gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
  16. hw_algo = "toggle";
  17. hw_margin_ms = <1000>;
  18. always-running;
  19. pinctrl-names = "default";
  20. pinctrl-0 = <&pinmux_disable_sys_led>;
  21. };
  22. };
  23. &watchdog0 {
  24. status = "disabled";
  25. };
  26. &spi0 {
  27. status = "okay";
  28. flash@0 {
  29. compatible = "jedec,spi-nor";
  30. reg = <0>;
  31. spi-max-frequency = <50000000>;
  32. m25p,fast-read;
  33. partitions {
  34. compatible = "fixed-partitions";
  35. #address-cells = <1>;
  36. #size-cells = <1>;
  37. partition@0 {
  38. label = "bootware_basic";
  39. reg = <0x0 0x50000>;
  40. read-only;
  41. };
  42. partition@60000 {
  43. label = "bootware_data";
  44. reg = <0x60000 0x30000>;
  45. read-only;
  46. };
  47. partition@90000 {
  48. label = "bootware_extend";
  49. reg = <0x90000 0x40000>;
  50. read-only;
  51. };
  52. partition@100000 {
  53. label = "bootware_basic_backup";
  54. reg = <0x100000 0x50000>;
  55. read-only;
  56. };
  57. partition@160000 {
  58. label = "bootware_data_backup";
  59. reg = <0x160000 0x30000>;
  60. read-only;
  61. };
  62. partition@190000 {
  63. label = "bootware_extend_backup";
  64. reg = <0x190000 0x40000>;
  65. read-only;
  66. };
  67. partition@300000 {
  68. label = "firmware";
  69. compatible = "h3c,vfs-firmware";
  70. reg = <0x300000 0x1cf0000>;
  71. };
  72. partition@1ff0000 {
  73. label = "factory";
  74. reg = <0x1ff0000 0x10000>;
  75. read-only;
  76. };
  77. };
  78. };
  79. };