TQ210.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*
  2. * Samsung's S5PV210 SoC device tree source
  3. * Copyright (C) 2018 Jianhui Zhao <[email protected]>
  4. *
  5. * Board device tree source for TQ210 board.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. /dts-v1/;
  12. #include <dt-bindings/input/input.h>
  13. #include <dt-bindings/interrupt-controller/irq.h>
  14. #include "s5pv210.dtsi"
  15. / {
  16. model = "Embedsky TQ210 based on S5PV210";
  17. compatible = "embedsky,tq210", "samsung,s5pv210";
  18. chosen {
  19. bootargs = "console=ttySAC0,115200n8";
  20. };
  21. memory@20000000 {
  22. device_type = "memory";
  23. reg = <0x20000000 0x40000000>;
  24. };
  25. ethernet@88000000 {
  26. compatible = "davicom,dm9000";
  27. reg = <0x88000000 0x2 0x88000004 0x2>;
  28. interrupt-parent = <&gph1>;
  29. interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
  30. local-mac-address = [00 00 de ad be ef];
  31. davicom,no-eeprom;
  32. clocks = <&clocks CLK_SROMC>;
  33. clock-names = "sromc";
  34. };
  35. };
  36. &xxti {
  37. clock-frequency = <24000000>;
  38. };
  39. &uart0 {
  40. status = "okay";
  41. };
  42. &nand {
  43. status = "okay";
  44. nand-ecc-mode = "soft";
  45. partition@0 {
  46. label = "boot";
  47. reg = <0x0 0x40000>; /* 246KB */
  48. read-only;
  49. };
  50. partition@40000 {
  51. label = "kernel";
  52. reg = <0x40000 0x300000>; /* 3MB */
  53. };
  54. partition@340000 {
  55. label = "rootfs";
  56. reg = <0x340000 0x3fcc0000>; /* 1020MB */
  57. };
  58. };