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