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