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