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/bcm958625-meraki-mx6x-common.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 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
    2 /*
    3  * Common Bindings for Cisco Meraki MX64 (Kingpin) and MX65 (Alamo) devices.
    4  *
    5  * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com>
    6  */
    7 
    8 #include "bcm-nsp.dtsi"
    9 #include <dt-bindings/gpio/gpio.h>
   10 #include <dt-bindings/input/input.h>
   11 #include <dt-bindings/leds/common.h>
   12 
   13 / {
   14         pwm-leds {
   15                 compatible = "pwm-leds";
   16 
   17                 led-1 {
   18                         function = LED_FUNCTION_INDICATOR;
   19                         color = <LED_COLOR_ID_RED>;
   20                         pwms = <&pwm 1 50000>;
   21                         max-brightness = <255>;
   22                 };
   23 
   24                 led-2 {
   25                         function = LED_FUNCTION_POWER;
   26                         color = <LED_COLOR_ID_GREEN>;
   27                         pwms = <&pwm 2 50000>;
   28                         max-brightness = <255>;
   29                 };
   30 
   31                 led-3 {
   32                         function = LED_FUNCTION_INDICATOR;
   33                         color = <LED_COLOR_ID_BLUE>;
   34                         pwms = <&pwm 3 50000>;
   35                         max-brightness = <255>;
   36                 };
   37         };
   38 };
   39 
   40 &amac2 {
   41         status = "okay";
   42         nvmem-cells = <&mac_address>;
   43         nvmem-cell-names = "mac-address";
   44 };
   45 
   46 &ehci0 {
   47         status = "okay";
   48 };
   49 
   50 &i2c0 {
   51         status = "okay";
   52 
   53         eeprom@50 {
   54                 compatible = "atmel,24c64";
   55                 reg = <0x50>;
   56                 pagesize = <32>;
   57                 read-only;
   58                 #address-cells = <1>;
   59                 #size-cells = <1>;
   60 
   61                 mac_address: mac-address@66 {
   62                         reg = <0x66 0x6>;
   63                 };
   64         };
   65 };
   66 
   67 &nand_controller {
   68         nand@0 {
   69                 compatible = "brcm,nandcs";
   70                 reg = <0>;
   71                 nand-on-flash-bbt;
   72 
   73                 #address-cells = <1>;
   74                 #size-cells = <1>;
   75 
   76                 nand-ecc-strength = <24>;
   77                 nand-ecc-step-size = <1024>;
   78 
   79                 brcm,nand-oob-sector-size = <27>;
   80 
   81                 partition@0 {
   82                         label = "u-boot";
   83                         reg = <0x0 0x80000>;
   84                         read-only;
   85                 };
   86 
   87                 partition@80000 {
   88                         label = "shmoo";
   89                         reg = <0x80000 0x80000>;
   90                         read-only;
   91                 };
   92 
   93                 partition@100000 {
   94                         label = "bootkernel1";
   95                         reg = <0x100000 0x300000>;
   96                 };
   97 
   98                 partition@400000 {
   99                         label = "nvram";
  100                         reg = <0x400000 0x100000>;
  101                 };
  102 
  103                 partition@500000 {
  104                         label = "bootkernel2";
  105                         reg = <0x500000 0x300000>;
  106                 };
  107 
  108                 partition@800000 {
  109                         label = "ubi";
  110                         reg = <0x800000 0x3f700000>;
  111                 };
  112         };
  113 };
  114 
  115 &ohci0 {
  116         status = "okay";
  117 };
  118 
  119 &pinctrl {
  120         pinctrl-names = "default";
  121         pinctrl-0 = <&pwm_leds>;
  122 
  123         pwm_leds: pwm_leds {
  124                 function = "pwm";
  125                 groups = "pwm1_grp", "pwm2_grp", "pwm3_grp";
  126         };
  127 };
  128 
  129 &pwm {
  130         status = "okay";
  131         #pwm-cells = <2>;
  132 };
  133 
  134 &uart0 {
  135         clock-frequency = <62500000>;
  136         status = "okay";
  137 };

Cache object: 981678efcc7d2235541dbbe91fb325ff


[ 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.