Kyle Swenson | 8d8f654 | 2021-03-15 11:02:55 -0600 | [diff] [blame^] | 1 | /* |
| 2 | * DTS file for CSR SiRFatlas7 Evaluation Board |
| 3 | * |
| 4 | * Copyright (c) 2014 Cambridge Silicon Radio Limited, a CSR plc group company. |
| 5 | * |
| 6 | * Licensed under GPLv2 or later. |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | /include/ "atlas7.dtsi" |
| 12 | |
| 13 | #include <dt-bindings/input/input.h> |
| 14 | #include <dt-bindings/gpio/gpio.h> |
| 15 | |
| 16 | / { |
| 17 | model = "CSR SiRFatlas7 Evaluation Board"; |
| 18 | compatible = "sirf,atlas7-cb", "sirf,atlas7"; |
| 19 | |
| 20 | chosen { |
| 21 | bootargs = "console=ttySiRF1,115200 earlyprintk"; |
| 22 | }; |
| 23 | |
| 24 | memory { |
| 25 | device_type = "memory"; |
| 26 | reg = <0x40000000 0x20000000>; |
| 27 | }; |
| 28 | |
| 29 | reserved-memory { |
| 30 | #address-cells = <1>; |
| 31 | #size-cells = <1>; |
| 32 | ranges; |
| 33 | |
| 34 | vpp_reserved: vpp_mem@5e800000 { |
| 35 | compatible = "sirf,reserved-memory"; |
| 36 | reg = <0x5e800000 0x800000>; |
| 37 | }; |
| 38 | |
| 39 | nanddisk_reserved: nanddisk@46000000 { |
| 40 | reg = <0x46000000 0x200000>; |
| 41 | no-map; |
| 42 | }; |
| 43 | }; |
| 44 | |
| 45 | |
| 46 | noc { |
| 47 | mediam { |
| 48 | nand@17050000 { |
| 49 | memory-region = <&nanddisk_reserved>; |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | gnssm { |
| 54 | spi1: spi@18200000 { |
| 55 | status = "okay"; |
| 56 | spiflash: macronix@0{ |
| 57 | status = "okay"; |
| 58 | compatible = "macronix,mx25l6405d"; |
| 59 | reg = <0>; |
| 60 | spi-max-frequency = <37500000>; |
| 61 | spi-cpha; |
| 62 | spi-cpol; |
| 63 | #address-cells = <1>; |
| 64 | #size-cells = <1>; |
| 65 | partitions@0 { |
| 66 | label = "myspiboot"; |
| 67 | reg = <0x0 0x800000>; |
| 68 | }; |
| 69 | }; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | btm { |
| 74 | uart6: uart@11000000 { |
| 75 | status = "okay"; |
| 76 | sirf,uart-has-rtscts; |
| 77 | }; |
| 78 | }; |
| 79 | |
| 80 | disp-iobg { |
| 81 | vpp@13110000 { |
| 82 | memory-region = <&vpp_reserved>; |
| 83 | }; |
| 84 | }; |
| 85 | |
| 86 | display0: display@0 { |
| 87 | compatible = "lvds-panel"; |
| 88 | source = "lvds.0"; |
| 89 | |
| 90 | bl-gpios = <&gpio_1 63 0>; |
| 91 | data-lines = <24>; |
| 92 | |
| 93 | display-timings { |
| 94 | native-mode = <&timing0>; |
| 95 | timing0: timing0 { |
| 96 | clock-frequency = <60000000>; |
| 97 | hactive = <1024>; |
| 98 | vactive = <600>; |
| 99 | hfront-porch = <220>; |
| 100 | hback-porch = <100>; |
| 101 | hsync-len = <1>; |
| 102 | vback-porch = <10>; |
| 103 | vfront-porch = <25>; |
| 104 | vsync-len = <1>; |
| 105 | hsync-active = <0>; |
| 106 | vsync-active = <0>; |
| 107 | de-active = <1>; |
| 108 | pixelclk-active = <1>; |
| 109 | }; |
| 110 | }; |
| 111 | }; |
| 112 | |
| 113 | gpio_keys { |
| 114 | compatible = "gpio-keys"; |
| 115 | status = "okay"; |
| 116 | #address-cells = <1>; |
| 117 | #size-cells = <0>; |
| 118 | |
| 119 | rearview_key { |
| 120 | label = "rearview key"; |
| 121 | linux,code = <KEY_CAMERA>; |
| 122 | gpios = <&gpio_1 3 GPIO_ACTIVE_LOW>; |
| 123 | debounce_interval = <100>; |
| 124 | }; |
| 125 | }; |
| 126 | |
| 127 | }; |
| 128 | }; |