Advertisement
Guest User

system-user.dtsi

a guest
Dec 19th, 2017
650
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. /include/ "system-conf.dtsi"
  2. / {
  3. };
  4.  
  5. &gem3 {
  6. status = "okay";
  7. local-mac-address = [00 0a 35 00 02 90];
  8. phy-mode = "rgmii-id";
  9. phy-handle = <&phy0>;
  10. phy0: phy@9 {
  11. reg = <0x9>;
  12. ti,rx-internal-delay = <0x5>;
  13. ti,tx-internal-delay = <0x5>;
  14. ti,fifo-depth = <0x1>;
  15. };
  16. };
  17.  
  18. &i2c1 {
  19. status = "okay";
  20. clock-frequency = <400000>;
  21.  
  22. i2cswitch@70 { /* U7 on UZ3EG SOM */
  23. compatible = "nxp,pca9542";
  24. #address-cells = <1>;
  25. #size-cells = <0>;
  26. reg = <0x70>;
  27. i2c@0 { /* i2c mw 70 0 1 */
  28. #address-cells = <1>;
  29. #size-cells = <0>;
  30. reg = <0>;
  31. /* IIC_EEPROM */
  32. eeprom@52 { /* U5 on UZ3EG IO Carrier*/
  33. compatible = "at,24c08";
  34. reg = <0x52>;
  35. };
  36. };
  37. };
  38. };
  39.  
  40. &qspi {
  41. #address-cells = <1>;
  42. #size-cells = <0>;
  43. status = "okay";
  44. flash0: flash@0 {
  45. compatible = "micron,n25q256a"; /* 32MB */
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. reg = <0x0>;
  49. spi-tx-bus-width = <1>;
  50. spi-rx-bus-width = <4>; /* FIXME also DUAL configuration possible */
  51. spi-max-frequency = <108000000>; /* Based on DC1 spec */
  52. partition@qspi-boot {
  53. label = "qspi-boot";
  54. reg = <0x0 0x780000>;
  55. };
  56. partition@qspi-bootenv {
  57. label = "qspi-bootenv";
  58. reg = <0x780000 0x80000>;
  59. };
  60. partition@qspi-linux {
  61. label = "qspi-linux";
  62. reg = <0x800000 0x3800000>;
  63. };
  64. };
  65. };
  66.  
  67. /* SD0 eMMC, 8-bit wide data bus */
  68. &sdhci0 {
  69. status = "okay";
  70. bus-width = <8>;
  71. max-frequency = <50000000>;
  72. disable-wp;
  73. };
  74.  
  75. /* SD1 with level shifter */
  76. &sdhci1 {
  77. status = "okay";
  78. max-frequency = <50000000>;
  79. no-1-8-v; /* for 1.0 silicon */
  80. disable-wp;
  81. };
  82.  
  83. /* ULPI SMSC USB3320 */
  84. &usb0 {
  85. status = "okay";
  86. };
  87.  
  88. &dwc3_0 {
  89. status = "okay";
  90. dr_mode = "host";
  91. phy-names = "usb3-phy";
  92. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement