bcm2835-rpi-b.dts 764 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /dts-v1/;
  2. /include/ "bcm2835.dtsi"
  3. / {
  4. compatible = "raspberrypi,model-b", "brcm,bcm2835";
  5. model = "Raspberry Pi Model B";
  6. memory {
  7. reg = <0 0x10000000>;
  8. };
  9. leds {
  10. compatible = "gpio-leds";
  11. act {
  12. label = "ACT";
  13. gpios = <&gpio 16 1>;
  14. default-state = "keep";
  15. linux,default-trigger = "heartbeat";
  16. };
  17. };
  18. };
  19. &gpio {
  20. pinctrl-names = "default";
  21. pinctrl-0 = <&alt0 &alt3>;
  22. alt0: alt0 {
  23. brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11 14 15 40 45>;
  24. brcm,function = <4>; /* alt0 */
  25. };
  26. alt3: alt3 {
  27. brcm,pins = <48 49 50 51 52 53>;
  28. brcm,function = <7>; /* alt3 */
  29. };
  30. };
  31. &i2c0 {
  32. status = "okay";
  33. clock-frequency = <100000>;
  34. };
  35. &i2c1 {
  36. status = "okay";
  37. clock-frequency = <100000>;
  38. };
  39. &sdhci {
  40. status = "okay";
  41. bus-width = <4>;
  42. };