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/exynos5250-smdk5250.dts

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
    2 /*
    3  * Samsung SMDK5250 board device tree source
    4  *
    5  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
    6  *              http://www.samsung.com
    7  */
    8 
    9 /dts-v1/;
   10 #include <dt-bindings/clock/maxim,max77686.h>
   11 #include <dt-bindings/gpio/gpio.h>
   12 #include <dt-bindings/interrupt-controller/irq.h>
   13 #include "exynos5250.dtsi"
   14 
   15 / {
   16         model = "Samsung SMDK5250 board based on Exynos5250";
   17         compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5";
   18 
   19         aliases {
   20         };
   21 
   22         memory@40000000 {
   23                 device_type = "memory";
   24                 reg = <0x40000000 0x80000000>;
   25         };
   26 
   27         chosen {
   28                 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc";
   29                 stdout-path = "serial2:115200n8";
   30         };
   31 
   32         vdd: fixed-regulator-vdd {
   33                 compatible = "regulator-fixed";
   34                 regulator-name = "vdd-supply";
   35                 regulator-min-microvolt = <1800000>;
   36                 regulator-max-microvolt = <1800000>;
   37                 regulator-always-on;
   38         };
   39 
   40         dbvdd: fixed-regulator-dbvdd {
   41                 compatible = "regulator-fixed";
   42                 regulator-name = "dbvdd-supply";
   43                 regulator-min-microvolt = <3300000>;
   44                 regulator-max-microvolt = <3300000>;
   45                 regulator-always-on;
   46         };
   47 
   48         spkvdd: fixed-regulator-spkvdd {
   49                 compatible = "regulator-fixed";
   50                 regulator-name = "spkvdd-supply";
   51                 regulator-min-microvolt = <5000000>;
   52                 regulator-max-microvolt = <5000000>;
   53                 regulator-always-on;
   54         };
   55 
   56         sound {
   57                 compatible = "samsung,smdk-wm8994";
   58 
   59                 samsung,i2s-controller = <&i2s0>;
   60                 samsung,audio-codec = <&wm8994>;
   61         };
   62 
   63         fixed-rate-clocks {
   64                 xxti {
   65                         compatible = "samsung,clock-xxti";
   66                         clock-frequency = <24000000>;
   67                 };
   68 
   69                 codec_mclk: codec-mclk {
   70                         compatible = "fixed-clock";
   71                         #clock-cells = <0>;
   72                         clock-frequency = <16934000>;
   73                 };
   74         };
   75 };
   76 
   77 &cpu0 {
   78         cpu0-supply = <&buck2_reg>;
   79 };
   80 
   81 &dp {
   82         samsung,color-space = <0>;
   83         samsung,color-depth = <1>;
   84         samsung,link-rate = <0x0a>;
   85         samsung,lane-count = <4>;
   86 
   87         pinctrl-names = "default";
   88         pinctrl-0 = <&dp_hpd>;
   89         status = "okay";
   90 
   91         display-timings {
   92                 native-mode = <&timing0>;
   93 
   94                 timing0: timing {
   95                         /* 1280x800 */
   96                         clock-frequency = <50000>;
   97                         hactive = <1280>;
   98                         vactive = <800>;
   99                         hfront-porch = <4>;
  100                         hback-porch = <4>;
  101                         hsync-len = <4>;
  102                         vback-porch = <4>;
  103                         vfront-porch = <4>;
  104                         vsync-len = <4>;
  105                 };
  106         };
  107 };
  108 
  109 &ehci {
  110         samsung,vbus-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>;
  111 };
  112 
  113 &fimd {
  114         status = "okay";
  115 };
  116 
  117 &hdmi {
  118         status = "okay";
  119         ddc = <&i2c_2>;
  120         hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
  121         vdd-supply = <&ldo8_reg>;
  122         vdd_osc-supply = <&ldo10_reg>;
  123         vdd_pll-supply = <&ldo8_reg>;
  124 };
  125 
  126 &i2c_0 {
  127         status = "okay";
  128         samsung,i2c-sda-delay = <100>;
  129         samsung,i2c-max-bus-freq = <20000>;
  130 
  131         eeprom@50 {
  132                 compatible = "samsung,s524ad0xd1", "atmel,24c128";
  133                 reg = <0x50>;
  134         };
  135 
  136         max77686: pmic@9 {
  137                 compatible = "maxim,max77686";
  138                 reg = <0x09>;
  139                 interrupt-parent = <&gpx3>;
  140                 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
  141                 pinctrl-names = "default";
  142                 pinctrl-0 = <&max77686_irq>;
  143                 #clock-cells = <1>;
  144                 wakeup-source;
  145 
  146                 voltage-regulators {
  147                         ldo1_reg: LDO1 {
  148                                 regulator-name = "P1.0V_LDO_OUT1";
  149                                 regulator-min-microvolt = <1000000>;
  150                                 regulator-max-microvolt = <1000000>;
  151                                 regulator-always-on;
  152                         };
  153 
  154                         ldo2_reg: LDO2 {
  155                                 regulator-name = "P1.2V_LDO_OUT2";
  156                                 regulator-min-microvolt = <1200000>;
  157                                 regulator-max-microvolt = <1200000>;
  158                                 regulator-always-on;
  159                         };
  160 
  161                         ldo3_reg: LDO3 {
  162                                 regulator-name = "P1.8V_LDO_OUT3";
  163                                 regulator-min-microvolt = <1800000>;
  164                                 regulator-max-microvolt = <1800000>;
  165                                 regulator-always-on;
  166                         };
  167 
  168                         ldo4_reg: LDO4 {
  169                                 regulator-name = "P2.8V_LDO_OUT4";
  170                                 regulator-min-microvolt = <2800000>;
  171                                 regulator-max-microvolt = <2800000>;
  172                         };
  173 
  174                         ldo5_reg: LDO5 {
  175                                 regulator-name = "P1.8V_LDO_OUT5";
  176                                 regulator-min-microvolt = <1800000>;
  177                                 regulator-max-microvolt = <1800000>;
  178                         };
  179 
  180                         ldo6_reg: LDO6 {
  181                                 regulator-name = "P1.1V_LDO_OUT6";
  182                                 regulator-min-microvolt = <1100000>;
  183                                 regulator-max-microvolt = <1100000>;
  184                                 regulator-always-on;
  185                         };
  186 
  187                         ldo7_reg: LDO7 {
  188                                 regulator-name = "P1.1V_LDO_OUT7";
  189                                 regulator-min-microvolt = <1100000>;
  190                                 regulator-max-microvolt = <1100000>;
  191                                 regulator-always-on;
  192                         };
  193 
  194                         ldo8_reg: LDO8 {
  195                                 regulator-name = "P1.0V_LDO_OUT8";
  196                                 regulator-min-microvolt = <1000000>;
  197                                 regulator-max-microvolt = <1000000>;
  198                         };
  199 
  200                         ldo10_reg: LDO10 {
  201                                 regulator-name = "P1.8V_LDO_OUT10";
  202                                 regulator-min-microvolt = <1800000>;
  203                                 regulator-max-microvolt = <1800000>;
  204                                 regulator-always-on;
  205                         };
  206 
  207                         ldo11_reg: LDO11 {
  208                                 regulator-name = "P1.8V_LDO_OUT11";
  209                                 regulator-min-microvolt = <1800000>;
  210                                 regulator-max-microvolt = <1800000>;
  211                         };
  212 
  213                         ldo12_reg: LDO12 {
  214                                 regulator-name = "P3.0V_LDO_OUT12";
  215                                 regulator-min-microvolt = <3000000>;
  216                                 regulator-max-microvolt = <3000000>;
  217                         };
  218 
  219                         ldo13_reg: LDO13 {
  220                                 regulator-name = "P1.8V_LDO_OUT13";
  221                                 regulator-min-microvolt = <1800000>;
  222                                 regulator-max-microvolt = <1800000>;
  223                         };
  224 
  225                         ldo14_reg: LDO14 {
  226                                 regulator-name = "P1.8V_LDO_OUT14";
  227                                 regulator-min-microvolt = <1800000>;
  228                                 regulator-max-microvolt = <1800000>;
  229                         };
  230 
  231                         ldo15_reg: LDO15 {
  232                                 regulator-name = "P1.0V_LDO_OUT15";
  233                                 regulator-min-microvolt = <1000000>;
  234                                 regulator-max-microvolt = <1000000>;
  235                         };
  236 
  237                         ldo16_reg: LDO16 {
  238                                 regulator-name = "P1.8V_LDO_OUT16";
  239                                 regulator-min-microvolt = <1800000>;
  240                                 regulator-max-microvolt = <1800000>;
  241                         };
  242 
  243                         buck1_reg: BUCK1 {
  244                                 regulator-name = "vdd_mif";
  245                                 regulator-min-microvolt = <950000>;
  246                                 regulator-max-microvolt = <1300000>;
  247                                 regulator-always-on;
  248                                 regulator-boot-on;
  249                         };
  250 
  251                         buck2_reg: BUCK2 {
  252                                 regulator-name = "vdd_arm";
  253                                 regulator-min-microvolt = <850000>;
  254                                 regulator-max-microvolt = <1350000>;
  255                                 regulator-always-on;
  256                                 regulator-boot-on;
  257                         };
  258 
  259                         buck3_reg: BUCK3 {
  260                                 regulator-name = "vdd_int";
  261                                 regulator-min-microvolt = <900000>;
  262                                 regulator-max-microvolt = <1200000>;
  263                                 regulator-always-on;
  264                                 regulator-boot-on;
  265                         };
  266 
  267                         buck4_reg: BUCK4 {
  268                                 regulator-name = "vdd_g3d";
  269                                 regulator-min-microvolt = <850000>;
  270                                 regulator-max-microvolt = <1300000>;
  271                                 regulator-always-on;
  272                                 regulator-boot-on;
  273                         };
  274 
  275                         buck5_reg: BUCK5 {
  276                                 regulator-name = "P1.8V_BUCK_OUT5";
  277                                 regulator-min-microvolt = <1800000>;
  278                                 regulator-max-microvolt = <1800000>;
  279                                 regulator-always-on;
  280                                 regulator-boot-on;
  281                         };
  282                 };
  283         };
  284 };
  285 
  286 &i2c_1 {
  287         status = "okay";
  288         samsung,i2c-sda-delay = <100>;
  289         samsung,i2c-max-bus-freq = <20000>;
  290 
  291         eeprom@51 {
  292                 compatible = "samsung,s524ad0xd1", "atmel,24c128";
  293                 reg = <0x51>;
  294         };
  295 
  296         wm8994: audio-codec@1a {
  297                 compatible = "wlf,wm8994";
  298                 reg = <0x1a>;
  299 
  300                 gpio-controller;
  301                 #gpio-cells = <2>;
  302 
  303                 clocks = <&codec_mclk>;
  304                 clock-names = "MCLK1";
  305 
  306                 AVDD2-supply = <&vdd>;
  307                 CPVDD-supply = <&vdd>;
  308                 DBVDD-supply = <&dbvdd>;
  309                 SPKVDD1-supply = <&spkvdd>;
  310                 SPKVDD2-supply = <&spkvdd>;
  311         };
  312 };
  313 
  314 &i2c_2 {
  315         status = "okay";
  316         /* used by HDMI DDC */
  317         samsung,i2c-sda-delay = <100>;
  318         samsung,i2c-max-bus-freq = <66000>;
  319 };
  320 
  321 &i2c_8 {
  322         status = "okay";
  323         /* used by HDMI PHY */
  324         samsung,i2c-sda-delay = <100>;
  325         samsung,i2c-max-bus-freq = <66000>;
  326 };
  327 
  328 &i2c_9 {
  329         status = "okay";
  330         samsung,i2c-sda-delay = <100>;
  331         samsung,i2c-max-bus-freq = <40000>;
  332 };
  333 
  334 &i2s0 {
  335         status = "okay";
  336 };
  337 
  338 &mixer {
  339         status = "okay";
  340 };
  341 
  342 &mmc_0 {
  343         status = "okay";
  344         broken-cd;
  345         card-detect-delay = <200>;
  346         samsung,dw-mshc-ciu-div = <3>;
  347         samsung,dw-mshc-sdr-timing = <2 3>;
  348         samsung,dw-mshc-ddr-timing = <1 2>;
  349         pinctrl-names = "default";
  350         pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
  351         bus-width = <8>;
  352         cap-mmc-highspeed;
  353 };
  354 
  355 &mmc_2 {
  356         status = "okay";
  357         card-detect-delay = <200>;
  358         samsung,dw-mshc-ciu-div = <3>;
  359         samsung,dw-mshc-sdr-timing = <2 3>;
  360         samsung,dw-mshc-ddr-timing = <1 2>;
  361         pinctrl-names = "default";
  362         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
  363         bus-width = <4>;
  364         disable-wp;
  365         cap-sd-highspeed;
  366 };
  367 
  368 &rtc {
  369         status = "okay";
  370         clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
  371         clock-names = "rtc", "rtc_src";
  372 };
  373 
  374 &sata {
  375         status = "okay";
  376 };
  377 
  378 &sata_phy {
  379         status = "okay";
  380         samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
  381 };
  382 
  383 &sata_phy_i2c {
  384         status = "okay";
  385 };
  386 
  387 &spi_1 {
  388         status = "okay";
  389         cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>;
  390 
  391         flash@0 {
  392                 #address-cells = <1>;
  393                 #size-cells = <1>;
  394                 compatible = "w25x80";
  395                 reg = <0>;
  396                 spi-max-frequency = <1000000>;
  397 
  398                 controller-data {
  399                         samsung,spi-feedback-delay = <0>;
  400                 };
  401 
  402                 partition@0 {
  403                         label = "U-Boot";
  404                         reg = <0x0 0x40000>;
  405                         read-only;
  406                 };
  407 
  408                 partition@40000 {
  409                         label = "Kernel";
  410                         reg = <0x40000 0xc0000>;
  411                 };
  412         };
  413 };
  414 
  415 &pinctrl_0 {
  416         max77686_irq: max77686-irq-pins {
  417                 samsung,pins = "gpx3-2";
  418                 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
  419                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
  420                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
  421         };
  422 };
  423 
  424 &usbdrd {
  425         vdd10-supply = <&ldo15_reg>;
  426         vdd33-supply = <&ldo12_reg>;
  427 };

Cache object: 97ca2ca64b5c96efa553f3a5ca397869


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