The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm/bcm2835-rpi.dtsi

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 #include <dt-bindings/power/raspberrypi-power.h>
    2 
    3 / {
    4         leds {
    5                 compatible = "gpio-leds";
    6 
    7                 led-act {
    8                         label = "ACT";
    9                         default-state = "keep";
   10                         linux,default-trigger = "heartbeat";
   11                 };
   12         };
   13 
   14         soc {
   15                 firmware: firmware {
   16                         compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
   17                         #address-cells = <1>;
   18                         #size-cells = <1>;
   19 
   20                         mboxes = <&mailbox>;
   21                         dma-ranges;
   22                 };
   23 
   24                 power: power {
   25                         compatible = "raspberrypi,bcm2835-power";
   26                         firmware = <&firmware>;
   27                         #power-domain-cells = <1>;
   28                 };
   29 
   30                 vchiq: mailbox@7e00b840 {
   31                         compatible = "brcm,bcm2835-vchiq";
   32                         reg = <0x7e00b840 0x3c>;
   33                         interrupts = <0 2>;
   34                 };
   35         };
   36 };
   37 
   38 &gpio {
   39         pinctrl-names = "default";
   40 
   41         gpioout: gpioout {
   42                 brcm,pins = <6>;
   43                 brcm,function = <BCM2835_FSEL_GPIO_OUT>;
   44         };
   45 
   46         alt0: alt0 {
   47                 brcm,pins = <4 5 7 8 9 10 11>;
   48                 brcm,function = <BCM2835_FSEL_ALT0>;
   49         };
   50 };
   51 
   52 &i2c0 {
   53         pinctrl-names = "default";
   54         pinctrl-0 = <&i2c0_gpio0>;
   55         status = "okay";
   56         clock-frequency = <100000>;
   57 };
   58 
   59 &i2c1 {
   60         pinctrl-names = "default";
   61         pinctrl-0 = <&i2c1_gpio2>;
   62         status = "okay";
   63         clock-frequency = <100000>;
   64 };
   65 
   66 &usb {
   67         power-domains = <&power RPI_POWER_DOMAIN_USB>;
   68 };
   69 
   70 &vec {
   71         power-domains = <&power RPI_POWER_DOMAIN_VEC>;
   72         status = "okay";
   73 };
   74 
   75 &dsi0 {
   76         power-domains = <&power RPI_POWER_DOMAIN_DSI0>;
   77 };
   78 
   79 &dsi1 {
   80         power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
   81 };

Cache object: 2d59cc51adacf9cbe5f065636490022c


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.