| /dts-v1/; |
| |
| /memreserve/ 0x1c000000 0x04000000; |
| /include/ "tegra250.dtsi" |
| /include/ "chromeos.dtsi" |
| /include/ "flashmap-twostop-4mb.dtsi" |
| |
| / { |
| model = "Google Asymptote"; |
| compatible = "google,asymptote", "nvidia,tegra250"; |
| |
| config { |
| odmdata = <0x300d8011>; |
| hwid = "ARM ASYMPTOTE TEST 8314"; |
| machine-arch-id = <3624>; |
| |
| /* Chrome OS specific GPIO */ |
| /* |
| * Parameter 3 bits |
| * bit 0: 1=output, 0=input |
| * bit 1: 1=high, 0=low |
| * bit 2: 1=active low, 0=active high |
| */ |
| write-protect-switch = <&gpio 59 0>; |
| recovery-switch = <&gpio 56 4>; |
| developer-switch = <&gpio 168 0>; |
| /* Asymptote does not have a lid-switch or power-switch */ |
| }; |
| |
| aliases { |
| console = "/serial@70006040"; |
| usb0 = "/usb@0xc5008000"; |
| usb1 = "/usb@0xc5000000"; |
| |
| sdmmc0 = "/sdhci@c8000600"; |
| sdmmc1 = "/sdhci@c8000400"; |
| |
| i2c0 = "/i2c@0x7000d000"; |
| i2c1 = "/i2c@0x7000c000"; |
| i2c2 = "/i2c@0x7000c400"; |
| i2c3 = "/i2c@0x7000c500"; |
| }; |
| |
| memory { |
| device_type = "memory"; |
| reg = <0x00000000 0x40000000>; |
| }; |
| |
| serial@70006040 { |
| status = "ok"; |
| clock-frequency = <216000000>; |
| }; |
| |
| sdhci@c8000400 { |
| status = "ok"; |
| width = <4>; /* width of SDIO port */ |
| removable = <1>; |
| /* Parameter 3 bit 0:1=output, 0=input; bit 1:1=high, 0=low */ |
| cd-gpio = <&gpio 69 0>; /* card detect, gpio PI5 */ |
| wp-gpio = <&gpio 57 0>; /* write protect, gpio PH1 */ |
| power-gpio = <&gpio 70 3>; /* power enable, gpio PI6 */ |
| }; |
| |
| sdhci@c8000600 { |
| status = "ok"; |
| width = <4>; /* width of SDIO port */ |
| removable = <0>; |
| }; |
| |
| lcd { |
| compatible = "nvidia,tegra2-lcd"; |
| width = <1024>; |
| height = <768>; |
| bits_per_pixel = <16>; |
| pwfm = <&pwfm2>; |
| display = <&display1>; |
| /* frame-buffer location = top of memory - carveout - fb */ |
| frame-buffer = <0x2f680000>; |
| |
| pixel_clock = <100030000>; |
| |
| /* Timing: ref_to_sync, sync_width. back_porch, front_porch */ |
| horiz_timing = <11 320 480 260>; |
| vert_timing = <1 10 6 16>; |
| |
| /* Parameter 3 bit 0:1=output, 0=input; bit 1:1=high, 0=low */ |
| backlight-enable = <&gpio 28 1>; /* PD4 */ |
| lvds-shutdown = <&gpio 10 1>; /* PB2 */ |
| /* Asymptote does not have backlight-vdd */ |
| panel-vdd = <&gpio 22 1>; /* PC6 */ |
| |
| /* |
| * Panel required timings |
| * Timing 1: delay between panel_vdd-rise and data-rise |
| * Timing 2: delay between data-rise and backlight_vdd-rise |
| * Timing 3: delay between backlight_vdd and pwm-rise |
| * Timing 4: delay between pwm-rise and backlight_en-rise |
| */ |
| panel-timings = <0 0 0 0>; |
| }; |
| |
| usb@0xc5000000 { |
| status = "ok"; |
| host-mode = <1>; |
| }; |
| |
| usbphy: usbphy@0 { |
| compatible = "smsc,usb3315"; |
| status = "ok"; |
| }; |
| |
| usb@0xc5008000 { |
| status = "ok"; |
| utmi = <&usbphy>; |
| host-mode = <0>; |
| }; |
| |
| /* |
| * Custom mappings for asymptote (to make up for lack of keyboard): |
| * - Volume Up -> Ctrl+D |
| * - Volume Dn -> Ctrl+U |
| * - Search Bn -> SPACE |
| */ |
| kbc@0x7000e200 { |
| keycode-plain = [00 00 00 00 00 00 00 00 |
| ' ' 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 04 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 15 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00]; |
| |
| keycode-shift = [00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00]; |
| |
| keycode-ctrl = [00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00 |
| 00 00 00 00 00 00 00 00]; |
| }; |
| }; |