sandbox64.dts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /dts-v1/;
  2. #include <config.h>
  3. / {
  4. #address-cells = <2>;
  5. #size-cells = <2>;
  6. model = "sandbox";
  7. aliases {
  8. i2c0 = &i2c_0;
  9. pci0 = &pci;
  10. rtc0 = &rtc_0;
  11. axi0 = &axi;
  12. spi0 = &spi;
  13. };
  14. memory {
  15. reg = /bits/ 64 <0 CONFIG_SYS_SDRAM_SIZE>;
  16. };
  17. cros_ec: cros-ec {
  18. reg = <0 0 0 0>;
  19. u-boot,dm-pre-reloc;
  20. compatible = "google,cros-ec-sandbox";
  21. };
  22. ethrawbus {
  23. compatible = "sandbox,eth-raw-bus";
  24. skip-localhost = <1>;
  25. };
  26. eth@10002000 {
  27. compatible = "sandbox,eth";
  28. reg = <0x0 0x10002000 0x0 0x1000>;
  29. fake-host-hwaddr = [00 00 66 44 22 00];
  30. };
  31. i2c_0: i2c@0 {
  32. #address-cells = <1>;
  33. #size-cells = <0>;
  34. reg = <0 0 0 0>;
  35. compatible = "sandbox,i2c";
  36. clock-frequency = <400000>;
  37. pinctrl-names = "default";
  38. pinctrl-0 = <&pinctrl_i2c0>;
  39. };
  40. pci: pci-controller {
  41. compatible = "sandbox,pci";
  42. device_type = "pci";
  43. #address-cells = <3>;
  44. #size-cells = <2>;
  45. ranges = <0x02000000 0 0x10000000 0 0x10000000 0 0x2000
  46. 0x01000000 0 0x20000000 0 0x20000000 0 0x2000>;
  47. };
  48. spi: spi@0 {
  49. u-boot,dm-pre-reloc;
  50. #address-cells = <1>;
  51. #size-cells = <0>;
  52. reg = <0 0 0 0>;
  53. compatible = "sandbox,spi";
  54. cs-gpios = <0>, <&gpio_a 0>;
  55. };
  56. };
  57. #include "sandbox.dtsi"
  58. #include "cros-ec-keyboard.dtsi"
  59. #include "sandbox_pmic.dtsi"