1/dts-v1/; 2 3#include <dt-bindings/input/input.h> 4 5#include "tegra210.dtsi" 6 7/ { 8 model = "Google Pixel C"; 9 compatible = "google,smaug-rev8", "google,smaug-rev7", 10 "google,smaug-rev6", "google,smaug-rev5", 11 "google,smaug-rev4", "google,smaug-rev3", 12 "google,smaug-rev1", "google,smaug", "nvidia,tegra210"; 13 14 aliases { 15 serial0 = &uarta; 16 }; 17 18 chosen { 19 bootargs = "earlycon"; 20 stdout-path = "serial0:115200n8"; 21 }; 22 23 memory { 24 device_type = "memory"; 25 reg = <0x0 0x80000000 0x0 0xc0000000>; 26 }; 27 28 serial@70006000 { 29 status = "okay"; 30 }; 31 32 pmc@7000e400 { 33 nvidia,invert-interrupt; 34 nvidia,suspend-mode = <0>; 35 nvidia,cpu-pwr-good-time = <0>; 36 nvidia,cpu-pwr-off-time = <0>; 37 nvidia,core-pwr-good-time = <12000 6000>; 38 nvidia,core-pwr-off-time = <39053>; 39 nvidia,core-power-req-active-high; 40 nvidia,sys-clock-req-active-high; 41 status = "okay"; 42 }; 43 44 sdhci@700b0600 { 45 bus-width = <8>; 46 non-removable; 47 status = "okay"; 48 }; 49 50 clocks { 51 compatible = "simple-bus"; 52 #address-cells = <1>; 53 #size-cells = <0>; 54 55 clk32k_in: clock@0 { 56 compatible = "fixed-clock"; 57 reg = <0>; 58 #clock-cells = <0>; 59 clock-frequency = <32768>; 60 }; 61 }; 62 63 cpus { 64 cpu@0 { 65 enable-method = "psci"; 66 }; 67 68 cpu@1 { 69 enable-method = "psci"; 70 }; 71 72 cpu@2 { 73 enable-method = "psci"; 74 }; 75 76 cpu@3 { 77 enable-method = "psci"; 78 }; 79 }; 80 81 gpio-keys { 82 compatible = "gpio-keys"; 83 gpio-keys,name = "gpio-keys"; 84 85 power { 86 label = "Power"; 87 gpios = <&gpio TEGRA_GPIO(X, 5) GPIO_ACTIVE_LOW>; 88 linux,code = <KEY_POWER>; 89 debounce-interval = <30>; 90 wakeup-source; 91 }; 92 93 lid { 94 label = "Lid"; 95 gpios = <&gpio TEGRA_GPIO(B, 4) GPIO_ACTIVE_LOW>; 96 linux,input-type = <EV_SW>; 97 linux,code = <SW_LID>; 98 wakeup-source; 99 }; 100 101 tablet_mode { 102 label = "Tablet Mode"; 103 gpios = <&gpio TEGRA_GPIO(Z, 2) GPIO_ACTIVE_HIGH>; 104 linux,input-type = <EV_SW>; 105 linux,code = <SW_TABLET_MODE>; 106 wakeup-source; 107 }; 108 109 volume_down { 110 label = "Volume Down"; 111 gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>; 112 linux,code = <KEY_VOLUMEDOWN>; 113 }; 114 115 volume_up { 116 label = "Volume Up"; 117 gpios = <&gpio TEGRA_GPIO(M, 4) GPIO_ACTIVE_LOW>; 118 linux,code = <KEY_VOLUMEUP>; 119 }; 120 }; 121 122 psci { 123 compatible = "arm,psci-1.0"; 124 method = "smc"; 125 }; 126}; 127