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/arm64/renesas/rzg2ul-smarc.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-only OR BSD-2-Clause)
    2 /*
    3  * Device Tree Source for the RZ/G2UL Type-1 SMARC EVK parts
    4  *
    5  * Copyright (C) 2022 Renesas Electronics Corp.
    6  */
    7 
    8 /*
    9  * DIP-Switch SW1 setting
   10  * 1 : High; 0: Low
   11  * SW1-2 : SW_SD0_DEV_SEL       (0: uSD; 1: eMMC)
   12  * SW1-3 : SW_ET0_EN_N          (0: ETHER0; 1: CAN0, CAN1, SSI1, RSPI1)
   13  * Please change below macros according to SW1 setting
   14  */
   15 #define SW_SW0_DEV_SEL  1
   16 #define SW_ET0_EN_N     1
   17 
   18 #include "rzg2ul-smarc-som.dtsi"
   19 #include "rzg2ul-smarc-pinfunction.dtsi"
   20 #include "rz-smarc-common.dtsi"
   21 
   22 #if (!SW_ET0_EN_N)
   23 &canfd {
   24         /delete-property/ pinctrl-0;
   25         /delete-property/ pinctrl-names;
   26         status = "disabled";
   27 };
   28 #endif
   29 
   30 &cpu_dai {
   31         sound-dai = <&ssi1>;
   32 };
   33 
   34 &i2c1 {
   35         wm8978: codec@1a {
   36                 compatible = "wlf,wm8978";
   37                 #sound-dai-cells = <0>;
   38                 reg = <0x1a>;
   39         };
   40 };
   41 
   42 #if (SW_ET0_EN_N)
   43 &ssi1 {
   44         pinctrl-0 = <&ssi1_pins>;
   45         pinctrl-names = "default";
   46 
   47         status = "okay";
   48 };
   49 #else
   50 &snd_rzg2l {
   51         status = "disabled";
   52 };
   53 
   54 &spi1 {
   55         /delete-property/ pinctrl-0;
   56         /delete-property/ pinctrl-names;
   57         status = "disabled";
   58 };
   59 
   60 &ssi1 {
   61         /delete-property/ pinctrl-0;
   62         /delete-property/ pinctrl-names;
   63         status = "disabled";
   64 };
   65 #endif
   66 
   67 &vccq_sdhi1 {
   68         gpios = <&pinctrl RZG2L_GPIO(6, 1) GPIO_ACTIVE_HIGH>;
   69 };

Cache object: 5fb4192562a621f91a0fe93fdb2969e1


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