2015-12-17 08:26:49 +08:00
|
|
|
#include <dt-bindings/power/raspberrypi-power.h>
|
|
|
|
|
2014-11-20 18:52:45 +08:00
|
|
|
/ {
|
|
|
|
memory {
|
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 {
|
|
|
|
compatible = "raspberrypi,bcm2835-firmware";
|
|
|
|
mboxes = <&mailbox>;
|
|
|
|
};
|
2015-12-17 08:26:49 +08:00
|
|
|
|
|
|
|
power: power {
|
|
|
|
compatible = "raspberrypi,bcm2835-power";
|
|
|
|
firmware = <&firmware>;
|
|
|
|
#power-domain-cells = <1>;
|
|
|
|
};
|
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 {
|
2016-09-19 16:43:21 +08:00
|
|
|
brcm,pins = <4 5 7 8 9 10 11 14 15>;
|
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
|
|
|
status = "okay";
|
|
|
|
bus-width = <4>;
|
|
|
|
};
|
2015-12-22 04:12:59 +08:00
|
|
|
|
|
|
|
&pwm {
|
2016-09-19 16:43:19 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
|
2015-12-22 04:12:59 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
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";
|
|
|
|
};
|