Advertisement
Guest User

Untitled

a guest
Jun 7th, 2016
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. /dts-v1/;
  2.  
  3. /include/ "rt5350.dtsi"
  4.  
  5. / {
  6. compatible = "NixcoreX1", "ralink,rt5350-soc";
  7. model = "NixcoreX1";
  8.  
  9. chosen{
  10. bootargs = "console=ttyS1,57600";
  11. };
  12. };
  13.  
  14. &gpio0{
  15. status = "okay";
  16. };
  17.  
  18. &gpio1{
  19. status = "okay";
  20. };
  21.  
  22. &i2c{
  23. status = "okay";
  24. };
  25. &uart{
  26. status = "okay";
  27. /* Mix of uart and gpio */
  28. reset-names = "gpio uartf";
  29. };
  30. &spi0{
  31. status = "okay";
  32.  
  33. m25p80@0 {
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. compatible = "s25fl064k";
  37. reg = <0>;
  38. linux,modalias = "m25p80", "s25fl064k";
  39. spi-max-frequency = <10000000>;
  40.  
  41. partition@0 {
  42. label = "uboot";
  43. reg = <0x0 0x30000>;
  44. read-only;
  45. };
  46.  
  47. partition@30000 {
  48. label = "uboot-env";
  49. reg = <0x30000 0x10000>;
  50. read-only;
  51. };
  52.  
  53. factory: partition@40000 {
  54. label = "factory";
  55. reg = <0x40000 0x10000>;
  56. read-only;
  57. };
  58.  
  59. partition@50000 {
  60. label = "firmware";
  61. reg = <0x50000 0x7b0000>;
  62. };
  63. };
  64. };
  65.  
  66. &pinctrl {
  67. state_default: pinctrl0 {
  68. gpio {
  69. /* Associate the tjag, uartf and led groups with gpio */
  70. ralink,group = "jtag", "led", "spi_cs1";
  71. /* How do we set individual pins? */
  72. ralink,function = "gpio";
  73. };
  74. };
  75. };
  76.  
  77. &ethernet {
  78. mtd-mac-address = <&factory 0x4>;
  79. };
  80.  
  81. &esw {
  82. ralink,portmap = <0x17>;
  83. };
  84.  
  85. &wmac {
  86. ralink,mtd-eeprom = <&factory 0>;
  87. };
  88.  
  89. &ehci {
  90. status = "okay";
  91. };
  92.  
  93. &ohci {
  94. status = "okay";
  95. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement