• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#include "bcm2835.dtsi"
2
3/ {
4	memory {
5		reg = <0 0x10000000>;
6	};
7
8	leds {
9		compatible = "gpio-leds";
10
11		act {
12			label = "ACT";
13			default-state = "keep";
14			linux,default-trigger = "heartbeat";
15		};
16	};
17
18	soc {
19		firmware: firmware {
20			compatible = "raspberrypi,bcm2835-firmware";
21			mboxes = <&mailbox>;
22		};
23	};
24};
25
26&gpio {
27	pinctrl-names = "default";
28
29	gpioout: gpioout {
30		brcm,pins = <6>;
31		brcm,function = <BCM2835_FSEL_GPIO_OUT>;
32	};
33
34	alt0: alt0 {
35		brcm,pins = <0 1 2 3 4 5 7 8 9 10 11 14 15 40 45>;
36		brcm,function = <BCM2835_FSEL_ALT0>;
37	};
38
39	alt3: alt3 {
40		brcm,pins = <48 49 50 51 52 53>;
41		brcm,function = <BCM2835_FSEL_ALT3>;
42	};
43};
44
45&i2c0 {
46	status = "okay";
47	clock-frequency = <100000>;
48};
49
50&i2c1 {
51	status = "okay";
52	clock-frequency = <100000>;
53};
54
55&i2c2 {
56	status = "okay";
57};
58
59&sdhci {
60	status = "okay";
61	bus-width = <4>;
62};
63