~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php