1/dts-v1/; 2 3#include <dt-bindings/input/linux-event-codes.h> 4 5#include "tegra186-p3310.dtsi" 6 7/ { 8 model = "NVIDIA Tegra186 P2771-0000 Development Board"; 9 compatible = "nvidia,p2771-0000", "nvidia,tegra186"; 10 11 i2c@3160000 { 12 power-monitor@42 { 13 compatible = "ti,ina3221"; 14 reg = <0x42>; 15 }; 16 17 power-monitor@43 { 18 compatible = "ti,ina3221"; 19 reg = <0x43>; 20 }; 21 22 exp1: gpio@74 { 23 compatible = "ti,tca9539"; 24 reg = <0x74>; 25 26 interrupt-parent = <&gpio>; 27 interrupts = <TEGRA_MAIN_GPIO(Y, 0) GPIO_ACTIVE_LOW>; 28 29 #gpio-cells = <2>; 30 gpio-controller; 31 }; 32 33 exp2: gpio@77 { 34 compatible = "ti,tca9539"; 35 reg = <0x77>; 36 37 interrupt-parent = <&gpio>; 38 interrupts = <TEGRA_MAIN_GPIO(Y, 6) GPIO_ACTIVE_LOW>; 39 40 #gpio-cells = <2>; 41 gpio-controller; 42 }; 43 }; 44 45 /* SDMMC1 (SD/MMC) */ 46 sdhci@3400000 { 47 status = "okay"; 48 49 vmmc-supply = <&vdd_sd>; 50 }; 51 52 pcie@10003000 { 53 status = "okay"; 54 55 dvdd-pex-supply = <&vdd_pex>; 56 hvdd-pex-pll-supply = <&vdd_1v8>; 57 hvdd-pex-supply = <&vdd_1v8>; 58 vddio-pexctl-aud-supply = <&vdd_1v8>; 59 60 pci@1,0 { 61 nvidia,num-lanes = <4>; 62 status = "okay"; 63 }; 64 65 pci@2,0 { 66 nvidia,num-lanes = <0>; 67 status = "disabled"; 68 }; 69 70 pci@3,0 { 71 nvidia,num-lanes = <1>; 72 status = "disabled"; 73 }; 74 }; 75 76 gpio-keys { 77 compatible = "gpio-keys"; 78 79 power { 80 label = "Power"; 81 gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 0) 82 GPIO_ACTIVE_LOW>; 83 linux,input-type = <EV_KEY>; 84 linux,code = <KEY_POWER>; 85 debounce-interval = <10>; 86 wakeup-source; 87 }; 88 89 volume-up { 90 label = "Volume Up"; 91 gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 1) 92 GPIO_ACTIVE_LOW>; 93 linux,input-type = <EV_KEY>; 94 linux,code = <KEY_VOLUMEUP>; 95 debounce-interval = <10>; 96 }; 97 98 volume-down { 99 label = "Volume Down"; 100 gpios = <&gpio_aon TEGRA_AON_GPIO(FF, 2) 101 GPIO_ACTIVE_LOW>; 102 linux,input-type = <EV_KEY>; 103 linux,code = <KEY_VOLUMEDOWN>; 104 debounce-interval = <10>; 105 }; 106 }; 107 108 regulators { 109 vdd_sd: regulator@100 { 110 compatible = "regulator-fixed"; 111 reg = <100>; 112 113 regulator-name = "SD_CARD_SW_PWR"; 114 regulator-min-microvolt = <3300000>; 115 regulator-max-microvolt = <3300000>; 116 117 gpio = <&gpio TEGRA_MAIN_GPIO(P, 6) GPIO_ACTIVE_HIGH>; 118 enable-active-high; 119 120 vin-supply = <&vdd_3v3_sys>; 121 }; 122 }; 123}; 124