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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/mips/img/pistachio_marduk.dts

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 // SPDX-License-Identifier: GPL-2.0-only
  2 /*
  3  * Copyright (C) 2015, 2016 Imagination Technologies Ltd.
  4  *
  5  * IMG Marduk board is also known as Creator Ci40.
  6  */
  7 
  8 /dts-v1/;
  9 
 10 #include "pistachio.dtsi"
 11 
 12 / {
 13         model = "IMG Marduk (Creator Ci40)";
 14         compatible = "img,pistachio-marduk", "img,pistachio";
 15 
 16         aliases {
 17                 serial0 = &uart0;
 18                 serial1 = &uart1;
 19                 ethernet0 = &enet;
 20                 spi0 = &spfi0;
 21                 spi1 = &spfi1;
 22         };
 23 
 24         chosen {
 25                 bootargs = "root=/dev/sda1 rootwait ro lpj=723968";
 26                 stdout-path = "serial1:115200";
 27         };
 28 
 29         memory {
 30                 device_type = "memory";
 31                 reg =  <0x00000000 0x10000000>;
 32         };
 33 
 34         reg_1v8: fixed-regulator {
 35                 compatible = "regulator-fixed";
 36                 regulator-name = "aux_adc_vref";
 37                 regulator-min-microvolt = <1800000>;
 38                 regulator-max-microvolt = <1800000>;
 39                 regulator-boot-on;
 40         };
 41 
 42         internal_dac_supply: internal-dac-supply {
 43                 compatible = "regulator-fixed";
 44                 regulator-name = "internal_dac_supply";
 45                 regulator-min-microvolt = <1800000>;
 46                 regulator-max-microvolt = <1800000>;
 47         };
 48 
 49         led-controller {
 50                 compatible = "pwm-leds";
 51 
 52                 led-1 {
 53                         label = "marduk:red:heartbeat";
 54                         pwms = <&pwm 3 300000>;
 55                         max-brightness = <255>;
 56                         linux,default-trigger = "heartbeat";
 57                 };
 58         };
 59 
 60         keys {
 61                 compatible = "gpio-keys";
 62                 button-1 {
 63                         label = "Button 1";
 64                         linux,code = <0x101>; /* BTN_1 */
 65                         gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
 66                 };
 67                 button-2 {
 68                         label = "Button 2";
 69                         linux,code = <0x102>; /* BTN_2 */
 70                         gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
 71                 };
 72         };
 73 };
 74 
 75 &internal_dac {
 76         VDD-supply = <&internal_dac_supply>;
 77 };
 78 
 79 &spfi1 {
 80         status = "okay";
 81 
 82         pinctrl-0 = <&spim1_pins>, <&spim1_quad_pins>, <&spim1_cs0_pin>,
 83                     <&spim1_cs1_pin>;
 84         pinctrl-names = "default";
 85         cs-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>, <&gpio0 1 GPIO_ACTIVE_HIGH>;
 86 
 87         flash@0 {
 88                 compatible = "spansion,s25fl016k", "jedec,spi-nor";
 89                 reg = <0>;
 90                 spi-max-frequency = <50000000>;
 91         };
 92 };
 93 
 94 &uart0 {
 95         status = "okay";
 96         assigned-clock-rates = <114278400>, <1843200>;
 97 };
 98 
 99 &uart1 {
100         status = "okay";
101 };
102 
103 &usb {
104         status = "okay";
105 };
106 
107 &enet {
108         status = "okay";
109 };
110 
111 &pin_enet {
112         drive-strength = <2>;
113 };
114 
115 &pin_enet_phy_clk {
116         drive-strength = <2>;
117 };
118 
119 &sdhost {
120         status = "okay";
121         bus-width = <4>;
122         disable-wp;
123 };
124 
125 &pin_sdhost_cmd {
126         drive-strength = <2>;
127 };
128 
129 &pin_sdhost_data {
130         drive-strength = <2>;
131 };
132 
133 &pwm {
134         status = "okay";
135 
136         pinctrl-0 = <&pwmpdm0_pin>, <&pwmpdm1_pin>, <&pwmpdm2_pin>,
137                     <&pwmpdm3_pin>;
138         pinctrl-names = "default";
139 };
140 
141 &adc {
142         status = "okay";
143         vref-supply = <&reg_1v8>;
144         adc-reserved-channels = <0x10>;
145 };
146 
147 &i2c2 {
148         status = "okay";
149         clock-frequency = <400000>;
150 
151         tpm@20 {
152                 compatible = "infineon,slb9645tt";
153                 reg = <0x20>;
154         };
155 
156 };
157 
158 &i2c3 {
159         status = "okay";
160         clock-frequency = <400000>;
161 };

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