Tom Warren | 872111a | 2020-02-28 16:17:07 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * (C) Copyright 2019-2020 NVIDIA Corporation <www.nvidia.com> |
| 4 | */ |
| 5 | /dts-v1/; |
| 6 | |
| 7 | #include "tegra210.dtsi" |
| 8 | |
| 9 | / { |
| 10 | model = "NVIDIA Jetson Nano Developer Kit"; |
| 11 | compatible = "nvidia,p3450-0000", "nvidia,tegra210"; |
| 12 | |
| 13 | chosen { |
| 14 | stdout-path = &uarta; |
| 15 | }; |
| 16 | |
| 17 | aliases { |
| 18 | ethernet = "/pcie@1003000/pci@2,0/ethernet@0,0"; |
| 19 | i2c0 = "/i2c@7000d000"; |
| 20 | i2c2 = "/i2c@7000c400"; |
| 21 | i2c3 = "/i2c@7000c500"; |
| 22 | i2c4 = "/i2c@7000c700"; |
| 23 | mmc0 = "/sdhci@700b0600"; |
| 24 | mmc1 = "/sdhci@700b0000"; |
| 25 | spi0 = "/spi@70410000"; |
| 26 | usb0 = "/usb@7d000000"; |
| 27 | }; |
| 28 | |
| 29 | memory { |
| 30 | reg = <0x0 0x80000000 0x0 0xc0000000>; |
| 31 | }; |
| 32 | |
| 33 | pcie@1003000 { |
| 34 | status = "okay"; |
| 35 | |
| 36 | pci@1,0 { |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | |
| 40 | pci@2,0 { |
| 41 | status = "okay"; |
| 42 | |
| 43 | ethernet@0,0 { |
| 44 | reg = <0x000000 0 0 0 0>; |
| 45 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 46 | }; |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | serial@70006000 { |
| 51 | status = "okay"; |
| 52 | }; |
| 53 | |
| 54 | padctl@7009f000 { |
| 55 | pinctrl-0 = <&padctl_default>; |
| 56 | pinctrl-names = "default"; |
| 57 | |
| 58 | padctl_default: pinmux { |
| 59 | xusb { |
| 60 | nvidia,lanes = "otg-1", "otg-2"; |
| 61 | nvidia,function = "xusb"; |
| 62 | nvidia,iddq = <0>; |
| 63 | }; |
| 64 | |
| 65 | usb3 { |
| 66 | nvidia,lanes = "pcie-5", "pcie-6"; |
| 67 | nvidia,function = "usb3"; |
| 68 | nvidia,iddq = <0>; |
| 69 | }; |
| 70 | |
| 71 | pcie-x1 { |
| 72 | nvidia,lanes = "pcie-0"; |
| 73 | nvidia,function = "pcie-x1"; |
| 74 | nvidia,iddq = <0>; |
| 75 | }; |
| 76 | |
| 77 | pcie-x4 { |
| 78 | nvidia,lanes = "pcie-1", "pcie-2", |
| 79 | "pcie-3", "pcie-4"; |
| 80 | nvidia,function = "pcie-x4"; |
| 81 | nvidia,iddq = <0>; |
| 82 | }; |
| 83 | |
| 84 | sata { |
| 85 | nvidia,lanes = "sata-0"; |
| 86 | nvidia,function = "sata"; |
| 87 | nvidia,iddq = <0>; |
| 88 | }; |
| 89 | }; |
| 90 | }; |
| 91 | |
| 92 | sdhci@700b0000 { |
| 93 | status = "okay"; |
| 94 | cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>; |
| 95 | power-gpios = <&gpio TEGRA_GPIO(Z, 3) GPIO_ACTIVE_HIGH>; |
| 96 | bus-width = <4>; |
| 97 | }; |
| 98 | |
| 99 | sdhci@700b0600 { |
| 100 | status = "okay"; |
| 101 | bus-width = <8>; |
| 102 | non-removable; |
| 103 | }; |
| 104 | |
| 105 | i2c@7000c400 { |
| 106 | status = "okay"; |
| 107 | clock-frequency = <400000>; |
| 108 | }; |
| 109 | |
| 110 | i2c@7000c500 { |
| 111 | status = "okay"; |
| 112 | clock-frequency = <400000>; |
| 113 | }; |
| 114 | |
| 115 | i2c@7000c700 { |
| 116 | status = "okay"; |
| 117 | clock-frequency = <400000>; |
| 118 | }; |
| 119 | |
| 120 | i2c@7000d000 { |
| 121 | status = "okay"; |
| 122 | clock-frequency = <400000>; |
| 123 | }; |
| 124 | |
| 125 | spi@70410000 { |
| 126 | status = "okay"; |
| 127 | spi-max-frequency = <80000000>; |
| 128 | }; |
| 129 | |
| 130 | usb@7d000000 { |
| 131 | status = "okay"; |
| 132 | dr_mode = "peripheral"; |
| 133 | }; |
| 134 | |
| 135 | clocks { |
| 136 | compatible = "simple-bus"; |
| 137 | #address-cells = <1>; |
| 138 | #size-cells = <0>; |
| 139 | |
| 140 | clk32k_in: clock@0 { |
| 141 | compatible = "fixed-clock"; |
| 142 | reg = <0>; |
| 143 | #clock-cells = <0>; |
| 144 | clock-frequency = <32768>; |
| 145 | }; |
| 146 | }; |
| 147 | }; |