{"action":"created","comment":{"url":"https://api.github.com/repos/lede-project/source/pulls/comments/149599298","pull_request_review_id":75016443,"id":149599298,"diff_hunk":"@@ -0,0 +1,145 @@\n+/dts-v1/;\n+\n+#include \"rt2880.dtsi\"\n+\n+#include <dt-bindings/input/input.h>\n+\n+/ {\n+\t#address-cells = <1>;\n+\t#size-cells = <1>;\n+\tcompatible = \"DAP-1522-A1\", \"ralink,rt2880-soc\";\n+\tmodel = \"D-Link DAP-1522 A1\";\n+\n+\tcfi@bc400000 {\n+\t\tcompatible = \"cfi-flash\";\n+\t\treg = <0xbc400000 0x800000>;\n+\t\tbank-width = <2>;\n+\t\tdevice-width = <2>;\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <1>;\n+\n+\t\tpartition@0 {\n+\t\t\tlabel = \"uboot\";\n+\t\t\treg = <0x0 0x30000>;\n+\t\t\tread-only;\n+\t\t};\n+\t\t\n+\t\tfactory: partition@30000 {\n+\t\t\tlabel = \"factory\";\n+\t\t\treg = <0x30000 0x10000>;\n+\t\t\tread-only;\n+\t\t};\n+\t\t\n+\t\tpartition@40000 {\n+\t\t\tlabel = \"firmware\";\n+\t\t\treg = <0x40000 0x3a0000>;\n+\t\t};\n+\t};\n+\n+\trtl8366s {\n+\t\tcompatible = \"realtek,rtl8366s\";\n+\t\tgpio-sda = <&gpio0 1 0>;\n+\t\tgpio-sck = <&gpio0 2 0>;\n+\t};\n+\n+\tgpio-keys-polled {\n+\t\tcompatible = \"gpio-keys-polled\";\n+\t\t#address-cells = <1>;\n+\t\t#size-cells = <0>;\n+\t\tpoll-interval = <100>;\n+\n+\t\treset {\n+\t\t\tlabel = \"reset\";\n+\t\t\tgpios = <&gpio0 9 1>;\n+\t\t\tlinux,code = <KEY_RESTART>;\n+\t\t};\n+\n+\t\twps {\n+\t\t\tlabel = \"wps\";\n+\t\t\tgpios = <&gpio2 16 1>;\n+\t\t\tlinux,code = <KEY_WPS_BUTTON>;\n+\t\t};\n+\n+\t\tap {\n+\t\t\tlabel = \"ap\";\n+\t\t\tgpios = <&gpio2 13 1>;\n+\t\t\tlinux,code = <BTN_0>;\n+\t\t\tlinux,input-type = <EV_SW>;\n+\t\t};\n+\n+\t\tbridge {\n+\t\t\tlabel = \"bridge\";\n+\t\t\tgpios = <&gpio2 14 1>;\n+\t\t\tlinux,code = <BTN_0>;","path":"target/linux/ramips/dts/DAP-1522-A1.dts","position":73,"original_position":73,"commit_id":"d5be20713c7c247206c3870af1be188f48dc1969","original_commit_id":"d5be20713c7c247206c3870af1be188f48dc1969","user":{"login":"mkresin","id":4547948,"avatar_url":"https://avatars0.githubusercontent.com/u/4547948?v=4","gravatar_id":"","url":"https://api.github.com/users/mkresin","html_url":"https://github.com/mkresin","followers_url":"https://api.github.com/users/mkresin/followers","following_url":"https://api.github.com/users/mkresin/following{/other_user}","gists_url":"https://api.github.com/users/mkresin/gists{/gist_id}","starred_url":"https://api.github.com/users/mkresin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkresin/subscriptions","organizations_url":"https://api.github.com/users/mkresin/orgs","repos_url":"https://api.github.com/users/mkresin/repos","events_url":"https://api.github.com/users/mkresin/events{/privacy}","received_events_url":"https://api.github.com/users/mkresin/received_events","type":"User","site_admin":false},"body":"Using the `BTN_0` keycode doesn't look right.","created_at":"2017-11-08T08:19:32Z","updated_at":"2017-11-08T08:35:41Z","html_url":"https://github.com/lede-project/source/pull/1468#discussion_r149599298","pull_request_url":"https://api.github.com/repos/lede-project/source/pulls/1468","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/lede-project/source/pulls/comments/149599298"},"html":{"href":"https://github.com/lede-project/source/pull/1468#discussion_r149599298"},"pull_request":{"href":"https://api.github.com/repos/lede-project/source/pulls/1468"}}},"pull_request":{"url":"https://api.github.com/repos/lede-project/source/pulls/1468","id":149334096,"html_url":"https://github.com/lede-project/source/pull/1468","diff_url":"https://github.com/lede-project/source/pull/1468.diff","patch_url":"https://github.com/lede-project/source/pull/1468.patch","issue_url":"https://api.github.com/repos/lede-project/source/issues/1468","number":1468,"state":"open","locked":false,"title":"ramips: add support for D-Link DAP-1522 A1 ","user":{"login":"george-hopkins","id":552590,"avatar_url":"https://avatars2.githubusercontent.com/u/552590?v=4","gravatar_id":"","url":"https://api.github.com/users/george-hopkins","html_url":"https://github.com/george-hopkins","followers_url":"https://api.github.com/users/george-hopkins/followers","following_url":"https://api.github.com/users/george-hopkins/following{/other_user}","gists_url":"https://api.github.com/users/george-hopkins/gists{/gist_id}","starred_url":"https://api.github.com/users/george-hopkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/george-hopkins/subscriptions","organizations_url":"https://api.github.com/users/george-hopkins/orgs","repos_url":"https://api.github.com/users/george-hopkins/repos","events_url":"https://api.github.com/users/george-hopkins/events{/privacy}","received_events_url":"https://api.github.com/users/george-hopkins/received_events","type":"User","site_admin":false},"body":"D-Link DAP-1522 is a wireless bridge/access point with 4 LAN ports and a dual-band wireless chipset.\r\n\r\nSpecifications:\r\n- Ralink RT2880\r\n- 32 MB of RAM\r\n- 4 MB of Flash\r\n- 4x 10/100/1000 Mbps Ethernet (RTL8366SR)\r\n- 802.11abgn (RT2850)\r\n\r\nFlash Instructions:\r\n1. Download lede-ramips-rt288x-dap-1522-a1-squashfs-factory.bin\r\n2. Open the web interface and upload the image","created_at":"2017-10-28T12:46:07Z","updated_at":"2017-11-08T08:35:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c563ea8f8ba412db4f4ed75963267cf8cae31ca3","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/lede-project/source/pulls/1468/commits","review_comments_url":"https://api.github.com/repos/lede-project/source/pulls/1468/comments","review_comment_url":"https://api.github.com/repos/lede-project/source/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lede-project/source/issues/1468/comments","statuses_url":"https://api.github.com/repos/lede-project/source/statuses/d5be20713c7c247206c3870af1be188f48dc1969","head":{"label":"george-hopkins:dap-1522-a1","ref":"dap-1522-a1","sha":"d5be20713c7c247206c3870af1be188f48dc1969","user":{"login":"george-hopkins","id":552590,"avatar_url":"https://avatars2.githubusercontent.com/u/552590?v=4","gravatar_id":"","url":"https://api.github.com/users/george-hopkins","html_url":"https://github.com/george-hopkins","followers_url":"https://api.github.com/users/george-hopkins/followers","following_url":"https://api.github.com/users/george-hopkins/following{/other_user}","gists_url":"https://api.github.com/users/george-hopkins/gists{/gist_id}","starred_url":"https://api.github.com/users/george-hopkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/george-hopkins/subscriptions","organizations_url":"https://api.github.com/users/george-hopkins/orgs","repos_url":"https://api.github.com/users/george-hopkins/repos","events_url":"https://api.github.com/users/george-hopkins/events{/privacy}","received_events_url":"https://api.github.com/users/george-hopkins/received_events","type":"User","site_admin":false},"repo":{"id":108647991,"name":"source","full_name":"george-hopkins/source","owner":{"login":"george-hopkins","id":552590,"avatar_url":"https://avatars2.githubusercontent.com/u/552590?v=4","gravatar_id":"","url":"https://api.github.com/users/george-hopkins","html_url":"https://github.com/george-hopkins","followers_url":"https://api.github.com/users/george-hopkins/followers","following_url":"https://api.github.com/users/george-hopkins/following{/other_user}","gists_url":"https://api.github.com/users/george-hopkins/gists{/gist_id}","starred_url":"https://api.github.com/users/george-hopkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/george-hopkins/subscriptions","organizations_url":"https://api.github.com/users/george-hopkins/orgs","repos_url":"https://api.github.com/users/george-hopkins/repos","events_url":"https://api.github.com/users/george-hopkins/events{/privacy}","received_events_url":"https://api.github.com/users/george-hopkins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/george-hopkins/source","description":"Mirror of https://git.lede-project.org/?p=source.git Please send your PRs against this tree. They will be merged via staging trees and appear in this tree once the staging trees get merged back into source.git","fork":true,"url":"https://api.github.com/repos/george-hopkins/source","forks_url":"https://api.github.com/repos/george-hopkins/source/forks","keys_url":"https://api.github.com/repos/george-hopkins/source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/george-hopkins/source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/george-hopkins/source/teams","hooks_url":"https://api.github.com/repos/george-hopkins/source/hooks","issue_events_url":"https://api.github.com/repos/george-hopkins/source/issues/events{/number}","events_url":"https://api.github.com/repos/george-hopkins/source/events","assignees_url":"https://api.github.com/repos/george-hopkins/source/assignees{/user}","branches_url":"https://api.github.com/repos/george-hopkins/source/branches{/branch}","tags_url":"https://api.github.com/repos/george-hopkins/source/tags","blobs_url":"https://api.github.com/repos/george-hopkins/source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/george-hopkins/source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/george-hopkins/source/git/refs{/sha}","trees_url":"https://api.github.com/repos/george-hopkins/source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/george-hopkins/source/statuses/{sha}","languages_url":"https://api.github.com/repos/george-hopkins/source/languages","stargazers_url":"https://api.github.com/repos/george-hopkins/source/stargazers","contributors_url":"https://api.github.com/repos/george-hopkins/source/contributors","subscribers_url":"https://api.github.com/repos/george-hopkins/source/subscribers","subscription_url":"https://api.github.com/repos/george-hopkins/source/subscription","commits_url":"https://api.github.com/repos/george-hopkins/source/commits{/sha}","git_commits_url":"https://api.github.com/repos/george-hopkins/source/git/commits{/sha}","comments_url":"https://api.github.com/repos/george-hopkins/source/comments{/number}","issue_comment_url":"https://api.github.com/repos/george-hopkins/source/issues/comments{/number}","contents_url":"https://api.github.com/repos/george-hopkins/source/contents/{+path}","compare_url":"https://api.github.com/repos/george-hopkins/source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/george-hopkins/source/merges","archive_url":"https://api.github.com/repos/george-hopkins/source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/george-hopkins/source/downloads","issues_url":"https://api.github.com/repos/george-hopkins/source/issues{/number}","pulls_url":"https://api.github.com/repos/george-hopkins/source/pulls{/number}","milestones_url":"https://api.github.com/repos/george-hopkins/source/milestones{/number}","notifications_url":"https://api.github.com/repos/george-hopkins/source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/george-hopkins/source/labels{/name}","releases_url":"https://api.github.com/repos/george-hopkins/source/releases{/id}","deployments_url":"https://api.github.com/repos/george-hopkins/source/deployments","created_at":"2017-10-28T12:40:04Z","updated_at":"2017-10-28T12:40:21Z","pushed_at":"2017-10-28T12:41:13Z","git_url":"git://github.com/george-hopkins/source.git","ssh_url":"git@github.com:george-hopkins/source.git","clone_url":"https://github.com/george-hopkins/source.git","svn_url":"https://github.com/george-hopkins/source","homepage":"","size":146145,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lede-project:master","ref":"master","sha":"8b9cdebc9c533f3933874b6746829eb4bdbb7647","user":{"login":"lede-project","id":18146401,"avatar_url":"https://avatars0.githubusercontent.com/u/18146401?v=4","gravatar_id":"","url":"https://api.github.com/users/lede-project","html_url":"https://github.com/lede-project","followers_url":"https://api.github.com/users/lede-project/followers","following_url":"https://api.github.com/users/lede-project/following{/other_user}","gists_url":"https://api.github.com/users/lede-project/gists{/gist_id}","starred_url":"https://api.github.com/users/lede-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lede-project/subscriptions","organizations_url":"https://api.github.com/users/lede-project/orgs","repos_url":"https://api.github.com/users/lede-project/repos","events_url":"https://api.github.com/users/lede-project/events{/privacy}","received_events_url":"https://api.github.com/users/lede-project/received_events","type":"Organization","site_admin":false},"repo":{"id":58552470,"name":"source","full_name":"lede-project/source","owner":{"login":"lede-project","id":18146401,"avatar_url":"https://avatars0.githubusercontent.com/u/18146401?v=4","gravatar_id":"","url":"https://api.github.com/users/lede-project","html_url":"https://github.com/lede-project","followers_url":"https://api.github.com/users/lede-project/followers","following_url":"https://api.github.com/users/lede-project/following{/other_user}","gists_url":"https://api.github.com/users/lede-project/gists{/gist_id}","starred_url":"https://api.github.com/users/lede-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lede-project/subscriptions","organizations_url":"https://api.github.com/users/lede-project/orgs","repos_url":"https://api.github.com/users/lede-project/repos","events_url":"https://api.github.com/users/lede-project/events{/privacy}","received_events_url":"https://api.github.com/users/lede-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lede-project/source","description":"Mirror of https://git.lede-project.org/?p=source.git Please send your PRs against this tree. They will be merged via staging trees and appear in this tree once the staging trees get merged back into source.git","fork":false,"url":"https://api.github.com/repos/lede-project/source","forks_url":"https://api.github.com/repos/lede-project/source/forks","keys_url":"https://api.github.com/repos/lede-project/source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lede-project/source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lede-project/source/teams","hooks_url":"https://api.github.com/repos/lede-project/source/hooks","issue_events_url":"https://api.github.com/repos/lede-project/source/issues/events{/number}","events_url":"https://api.github.com/repos/lede-project/source/events","assignees_url":"https://api.github.com/repos/lede-project/source/assignees{/user}","branches_url":"https://api.github.com/repos/lede-project/source/branches{/branch}","tags_url":"https://api.github.com/repos/lede-project/source/tags","blobs_url":"https://api.github.com/repos/lede-project/source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lede-project/source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lede-project/source/git/refs{/sha}","trees_url":"https://api.github.com/repos/lede-project/source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lede-project/source/statuses/{sha}","languages_url":"https://api.github.com/repos/lede-project/source/languages","stargazers_url":"https://api.github.com/repos/lede-project/source/stargazers","contributors_url":"https://api.github.com/repos/lede-project/source/contributors","subscribers_url":"https://api.github.com/repos/lede-project/source/subscribers","subscription_url":"https://api.github.com/repos/lede-project/source/subscription","commits_url":"https://api.github.com/repos/lede-project/source/commits{/sha}","git_commits_url":"https://api.github.com/repos/lede-project/source/git/commits{/sha}","comments_url":"https://api.github.com/repos/lede-project/source/comments{/number}","issue_comment_url":"https://api.github.com/repos/lede-project/source/issues/comments{/number}","contents_url":"https://api.github.com/repos/lede-project/source/contents/{+path}","compare_url":"https://api.github.com/repos/lede-project/source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lede-project/source/merges","archive_url":"https://api.github.com/repos/lede-project/source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lede-project/source/downloads","issues_url":"https://api.github.com/repos/lede-project/source/issues{/number}","pulls_url":"https://api.github.com/repos/lede-project/source/pulls{/number}","milestones_url":"https://api.github.com/repos/lede-project/source/milestones{/number}","notifications_url":"https://api.github.com/repos/lede-project/source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lede-project/source/labels{/name}","releases_url":"https://api.github.com/repos/lede-project/source/releases{/id}","deployments_url":"https://api.github.com/repos/lede-project/source/deployments","created_at":"2016-05-11T14:31:34Z","updated_at":"2017-11-07T23:59:06Z","pushed_at":"2017-11-08T02:11:51Z","git_url":"git://github.com/lede-project/source.git","ssh_url":"git@github.com:lede-project/source.git","clone_url":"https://github.com/lede-project/source.git","svn_url":"https://github.com/lede-project/source","homepage":"","size":146301,"stargazers_count":1034,"watchers_count":1034,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":885,"mirror_url":null,"archived":false,"open_issues_count":103,"forks":885,"open_issues":103,"watchers":1034,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lede-project/source/pulls/1468"},"html":{"href":"https://github.com/lede-project/source/pull/1468"},"issue":{"href":"https://api.github.com/repos/lede-project/source/issues/1468"},"comments":{"href":"https://api.github.com/repos/lede-project/source/issues/1468/comments"},"review_comments":{"href":"https://api.github.com/repos/lede-project/source/pulls/1468/comments"},"review_comment":{"href":"https://api.github.com/repos/lede-project/source/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lede-project/source/pulls/1468/commits"},"statuses":{"href":"https://api.github.com/repos/lede-project/source/statuses/d5be20713c7c247206c3870af1be188f48dc1969"}},"author_association":"NONE"}}
{"actor":{"display_login":"mkresin"}}