Skip to content

Commit

Permalink
Turn on the wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
SwtcR committed Feb 12, 2018
1 parent 523a7b7 commit a2d885d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions board/nintendo/switch/pinmux-config-nintendo-switch.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ static const struct tegra_gpio_config nintendo_switch_gpio_inits[] = {
GPIO_INIT(I, 0, OUT0),
GPIO_INIT(I, 1, OUT0),

// WiFi something
GPIO_INIT(H, 0, OUT0),
GPIO_INIT(H, 1, OUT1),

// ==== Fail ====
/*
GPIO_INIT(A, 5, IN),
Expand Down Expand Up @@ -154,6 +158,9 @@ static const struct pmux_pingrp_config nintendo_switch_pingrps[] = {
// GCASIC power
PINCFG(GPIO_X1_AUD_PBB3, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT),

PINCFG(WIFI_EN_PH0, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT),
PINCFG(WIFI_RST_PH1, DEFAULT, NORMAL, NORMAL, OUTPUT, DISABLE, DEFAULT),

// ==== Fail ====
/*
PINCFG(PEX_L0_RST_N_PA0, PE0, NORMAL, NORMAL, OUTPUT, DISABLE, HIGH),
Expand Down

0 comments on commit a2d885d

Please sign in to comment.