brcm,bcm6838.dtsi 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2018 Philippe Reynes <philippe.reynes@softathome.com>
  4. */
  5. #include "skeleton.dtsi"
  6. / {
  7. compatible = "brcm,bcm6838";
  8. cpus {
  9. reg = <0x14e00000 0x4>;
  10. #address-cells = <1>;
  11. #size-cells = <0>;
  12. u-boot,dm-pre-reloc;
  13. cpu@0 {
  14. compatible = "brcm,bcm6838-cpu", "mips,mips4Kc";
  15. device_type = "cpu";
  16. reg = <0>;
  17. u-boot,dm-pre-reloc;
  18. };
  19. cpu@1 {
  20. compatible = "brcm,bcm6838-cpu", "mips,mips4Kc";
  21. device_type = "cpu";
  22. reg = <1>;
  23. u-boot,dm-pre-reloc;
  24. };
  25. };
  26. clocks {
  27. compatible = "simple-bus";
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. u-boot,dm-pre-reloc;
  31. periph_osc: periph-osc {
  32. compatible = "fixed-clock";
  33. #clock-cells = <0>;
  34. clock-frequency = <50000000>;
  35. u-boot,dm-pre-reloc;
  36. };
  37. };
  38. ubus {
  39. compatible = "simple-bus";
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. u-boot,dm-pre-reloc;
  43. memory: memory-controller@12000000 {
  44. compatible = "brcm,bcm6328-mc";
  45. reg = <0x12000000 0x1000>;
  46. u-boot,dm-pre-reloc;
  47. };
  48. gpio_test_port: syscon@14e00294 {
  49. compatible = "syscon";
  50. reg = <0x14e00294 0x1c>;
  51. };
  52. pinctrl: pinctrl {
  53. compatible = "brcm,bcm6838-pinctrl";
  54. regmap = <&gpio_test_port>;
  55. brcm,pins-count = <74>;
  56. brcm,functions-count = <8>;
  57. };
  58. uart0: serial@14e00500 {
  59. compatible = "brcm,bcm6345-uart";
  60. reg = <0x14e00500 0x18>;
  61. clocks = <&periph_osc>;
  62. status = "disabled";
  63. };
  64. leds: led-controller@14e00f00 {
  65. compatible = "brcm,bcm6328-leds";
  66. reg = <0x14e00f00 0x28>;
  67. #address-cells = <1>;
  68. #size-cells = <0>;
  69. status = "disabled";
  70. };
  71. };
  72. };