2015-12-17 00:26:49 +00:00
|
|
|
#include <dt-bindings/power/raspberrypi-power.h>
|
|
|
|
|
2014-11-20 10:52:45 +00:00
|
|
|
/ {
|
|
|
|
memory {
|
2016-08-03 14:12:44 +00:00
|
|
|
device_type = "memory";
|
2014-11-20 10:52:45 +00:00
|
|
|
reg = <0 0x10000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
act {
|
|
|
|
label = "ACT";
|
|
|
|
default-state = "keep";
|
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
};
|
2015-06-04 20:11:47 +00:00
|
|
|
|
|
|
|
soc {
|
|
|
|
firmware: firmware {
|
2018-02-20 12:19:34 +00:00
|
|
|
compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
|
|
|
|
#address-cells = <0>;
|
|
|
|
#size-cells = <0>;
|
2015-06-04 20:11:47 +00:00
|
|
|
mboxes = <&mailbox>;
|
|
|
|
};
|
2015-12-17 00:26:49 +00:00
|
|
|
|
|
|
|
power: power {
|
|
|
|
compatible = "raspberrypi,bcm2835-power";
|
|
|
|
firmware = <&firmware>;
|
|
|
|
#power-domain-cells = <1>;
|
|
|
|
};
|
2015-06-04 20:11:47 +00:00
|
|
|
};
|
2014-11-20 10:52:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
&gpio {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
|
|
|
|
gpioout: gpioout {
|
|
|
|
brcm,pins = <6>;
|
2015-01-29 18:10:50 +00:00
|
|
|
brcm,function = <BCM2835_FSEL_GPIO_OUT>;
|
2014-11-20 10:52:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
alt0: alt0 {
|
2017-07-30 17:10:32 +00:00
|
|
|
brcm,pins = <4 5 7 8 9 10 11>;
|
2015-01-29 18:10:50 +00:00
|
|
|
brcm,function = <BCM2835_FSEL_ALT0>;
|
2014-11-20 10:52:45 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c0 {
|
2016-09-19 08:43:20 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c0_gpio0>;
|
2014-11-20 10:52:45 +00:00
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
2016-09-19 08:43:21 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c1_gpio2>;
|
2014-11-20 10:52:45 +00:00
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
2015-10-09 21:27:47 +00:00
|
|
|
&i2c2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2014-11-20 10:52:45 +00:00
|
|
|
&sdhci {
|
2016-09-19 08:43:22 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&emmc_gpio48>;
|
2014-11-20 10:52:45 +00:00
|
|
|
bus-width = <4>;
|
|
|
|
};
|
2015-12-21 20:12:59 +00:00
|
|
|
|
2017-03-08 09:19:05 +00:00
|
|
|
&sdhost {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&sdhost_gpio48>;
|
2017-03-08 09:19:10 +00:00
|
|
|
status = "okay";
|
2017-03-08 09:19:05 +00:00
|
|
|
bus-width = <4>;
|
|
|
|
};
|
|
|
|
|
2015-12-21 20:12:59 +00:00
|
|
|
&pwm {
|
2016-09-19 08:43:19 +00:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
|
2015-12-21 20:12:59 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
2015-12-17 00:26:49 +00:00
|
|
|
|
|
|
|
&usb {
|
|
|
|
power-domains = <&power RPI_POWER_DOMAIN_USB>;
|
|
|
|
};
|
2015-03-02 22:36:16 +00:00
|
|
|
|
|
|
|
&v3d {
|
|
|
|
power-domains = <&power RPI_POWER_DOMAIN_V3D>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&hdmi {
|
|
|
|
power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2016-12-02 13:48:13 +00:00
|
|
|
|
|
|
|
&vec {
|
|
|
|
power-domains = <&power RPI_POWER_DOMAIN_VEC>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
2016-12-13 23:15:10 +00:00
|
|
|
|
|
|
|
&dsi0 {
|
|
|
|
power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&dsi1 {
|
|
|
|
power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
|
|
|
|
};
|