Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | |
| 3 | #include "tegra210.dtsi" |
| 4 | |
| 5 | / { |
| 6 | model = "NVIDIA P2371-2180"; |
| 7 | compatible = "nvidia,p2371-2180", "nvidia,tegra210"; |
| 8 | |
| 9 | chosen { |
| 10 | stdout-path = &uarta; |
| 11 | }; |
| 12 | |
| 13 | aliases { |
| 14 | i2c0 = "/i2c@0,7000d000"; |
| 15 | sdhci0 = "/sdhci@0,700b0600"; |
| 16 | sdhci1 = "/sdhci@0,700b0000"; |
| 17 | usb0 = "/usb@0,7d000000"; |
| 18 | }; |
| 19 | |
| 20 | memory { |
| 21 | reg = <0x0 0x80000000 0x0 0xc0000000>; |
| 22 | }; |
| 23 | |
Stephen Warren | 16572fd | 2015-10-05 17:02:40 -0600 | [diff] [blame^] | 24 | pcie-controller@0,01003000 { |
| 25 | status = "okay"; |
| 26 | |
| 27 | pci@1,0 { |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | |
| 31 | pci@2,0 { |
| 32 | status = "okay"; |
| 33 | }; |
| 34 | }; |
| 35 | |
| 36 | padctl@0,7009f000 { |
| 37 | pinctrl-0 = <&padctl_default>; |
| 38 | pinctrl-names = "default"; |
| 39 | |
| 40 | padctl_default: pinmux { |
| 41 | xusb { |
| 42 | nvidia,lanes = "otg-1", "otg-2"; |
| 43 | nvidia,function = "xusb"; |
| 44 | nvidia,iddq = <0>; |
| 45 | }; |
| 46 | |
| 47 | usb3 { |
| 48 | nvidia,lanes = "pcie-5", "pcie-6"; |
| 49 | nvidia,function = "usb3"; |
| 50 | nvidia,iddq = <0>; |
| 51 | }; |
| 52 | |
| 53 | pcie-x1 { |
| 54 | nvidia,lanes = "pcie-0"; |
| 55 | nvidia,function = "pcie-x1"; |
| 56 | nvidia,iddq = <0>; |
| 57 | }; |
| 58 | |
| 59 | pcie-x4 { |
| 60 | nvidia,lanes = "pcie-1", "pcie-2", |
| 61 | "pcie-3", "pcie-4"; |
| 62 | nvidia,function = "pcie-x4"; |
| 63 | nvidia,iddq = <0>; |
| 64 | }; |
| 65 | |
| 66 | sata { |
| 67 | nvidia,lanes = "sata-0"; |
| 68 | nvidia,function = "sata"; |
| 69 | nvidia,iddq = <0>; |
| 70 | }; |
| 71 | }; |
| 72 | }; |
| 73 | |
Stephen Warren | 8681561 | 2015-08-13 22:34:22 -0600 | [diff] [blame] | 74 | sdhci@0,700b0000 { |
| 75 | status = "okay"; |
| 76 | cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>; |
| 77 | power-gpios = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; |
| 78 | wp-gpios = <&gpio TEGRA_GPIO(Z, 4) GPIO_ACTIVE_LOW>; |
| 79 | bus-width = <4>; |
| 80 | }; |
| 81 | |
| 82 | sdhci@0,700b0600 { |
| 83 | status = "okay"; |
| 84 | bus-width = <8>; |
| 85 | }; |
| 86 | |
| 87 | i2c@0,7000d000 { |
| 88 | status = "okay"; |
| 89 | clock-frequency = <400000>; |
| 90 | }; |
| 91 | |
| 92 | usb@0,7d000000 { |
| 93 | status = "okay"; |
| 94 | dr_mode = "otg"; |
| 95 | nvidia,vbus-gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>; |
| 96 | }; |
| 97 | |
| 98 | clocks { |
| 99 | compatible = "simple-bus"; |
| 100 | #address-cells = <1>; |
| 101 | #size-cells = <0>; |
| 102 | |
| 103 | clk32k_in: clock@0 { |
| 104 | compatible = "fixed-clock"; |
| 105 | reg = <0>; |
| 106 | #clock-cells = <0>; |
| 107 | clock-frequency = <32768>; |
| 108 | }; |
| 109 | }; |
| 110 | }; |