apq8096-db820c.dtsi 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. /*
  2. * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 and
  6. * only version 2 as published by the Free Software Foundation.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #include "msm8996.dtsi"
  14. #include "apq8096-db820c-pins.dtsi"
  15. / {
  16. aliases {
  17. serial0 = &blsp2_uart1;
  18. serial1 = &blsp2_uart2;
  19. i2c0 = &blsp1_i2c2;
  20. i2c1 = &blsp2_i2c1;
  21. i2c2 = &blsp2_i2c0;
  22. spi0 = &blsp1_spi0;
  23. spi1 = &blsp2_spi5;
  24. };
  25. chosen {
  26. stdout-path = "serial0:115200n8";
  27. };
  28. soc {
  29. serial@75b0000 {
  30. label = "LS-UART1";
  31. status = "okay";
  32. pinctrl-names = "default", "sleep";
  33. pinctrl-0 = <&blsp2_uart1_2pins_default>;
  34. pinctrl-1 = <&blsp2_uart1_2pins_sleep>;
  35. };
  36. serial@75b1000 {
  37. label = "LS-UART0";
  38. status = "okay";
  39. pinctrl-names = "default", "sleep";
  40. pinctrl-0 = <&blsp2_uart2_4pins_default>;
  41. pinctrl-1 = <&blsp2_uart2_4pins_sleep>;
  42. };
  43. i2c@07577000 {
  44. /* On Low speed expansion */
  45. label = "LS-I2C0";
  46. status = "okay";
  47. };
  48. i2c@075b6000 {
  49. /* On Low speed expansion */
  50. label = "LS-I2C1";
  51. status = "okay";
  52. };
  53. spi@07575000 {
  54. /* On Low speed expansion */
  55. label = "LS-SPI0";
  56. status = "okay";
  57. };
  58. i2c@075b5000 {
  59. /* On High speed expansion */
  60. label = "HS-I2C2";
  61. status = "okay";
  62. };
  63. spi@075ba000{
  64. /* On High speed expansion */
  65. label = "HS-SPI1";
  66. status = "okay";
  67. };
  68. sdhci@74a4900 {
  69. /* External SD card */
  70. pinctrl-names = "default", "sleep";
  71. pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on &sdc2_cd_on>;
  72. pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off &sdc2_cd_off>;
  73. cd-gpios = <&msmgpio 38 0x1>;
  74. status = "okay";
  75. };
  76. };
  77. };